fixed typo on logger name for exceptions.
authorStephen Soltesz <soltesz@cs.princeton.edu>
Sat, 13 Mar 2010 20:00:27 +0000 (20:00 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Sat, 13 Mar 2010 20:00:27 +0000 (20:00 +0000)
monitor/wrapper/plc.py

index 87355fa..5e6fb7f 100644 (file)
@@ -340,7 +340,7 @@ def isPendingSite(loginbase):
         try:
                 site = api.GetSites(auth.auth, loginbase)[0]
         except Exception, exc:
         try:
                 site = api.GetSites(auth.auth, loginbase)[0]
         except Exception, exc:
-                login.info("ERROR: No site %s" % loginbase)
+                logger.info("ERROR: No site %s" % loginbase)
                 return False
 
         if not site['enabled'] and site['ext_consortium_id'] == PENDING_CONSORTIUM_ID:
                 return False
 
         if not site['enabled'] and site['ext_consortium_id'] == PENDING_CONSORTIUM_ID: