fixed typo on logger name for exceptions.
Stephen Soltesz [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:
-                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: