[Rivet-svn] r1974 - bootstrap

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Oct 30 18:04:32 GMT 2009


Author: buckley
Date: Fri Oct 30 18:04:32 2009
New Revision: 1974

Log:
Tidying

Modified:
   bootstrap/rivet-bootstrap

Modified: bootstrap/rivet-bootstrap
==============================================================================
--- bootstrap/rivet-bootstrap	Fri Oct 30 18:01:22 2009	(r1973)
+++ bootstrap/rivet-bootstrap	Fri Oct 30 18:04:32 2009	(r1974)
@@ -276,25 +276,8 @@
 
 
 ## Configure logging
-# try:
-#     logging.basicConfig(level=opts.LOGLEVEL, format="%(message)s")
-#     logging.info("FOO")
-#     logging.warning("BAR")
-# except:
-#     h = logging.StreamHandler()
-#     h.setFormatter(logging.Formatter("%(message)s"))
-#     if logging.getLogger().handlers:
-#         logging.getLogger().handlers[0] = h
-#     else:
-#         logging.getLogger().addHandler(h)
-# print opts.LOGLEVEL, logging.INFO, logging.WARNING
-# print logging.getLogger().handlers[0]
-# logging.getLogger().setLevel(opts.LOGLEVEL)
-
 try:
     logging.basicConfig(level=opts.LOGLEVEL, format="%(message)s")
-    #logging.info("FOO")
-    #logging.warning("BAR")
 except:
     pass
 h = logging.StreamHandler()


More information about the Rivet-svn mailing list