logger.warn instead of logger.warning
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Wed, 6 Jul 2011 18:04:57 +0000 (14:04 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Wed, 6 Jul 2011 18:04:57 +0000 (14:04 -0400)
sfa/plc/sfaImport.py

index ee34833..cce4efe 100644 (file)
@@ -140,7 +140,7 @@ class sfaImport:
                 pkey = Keypair(create=True)
         else:
             # the user has no keys
-            self.logger.warning("Import: person %s does not have a PL public key"%hrn)
+            self.logger.warn("Import: person %s does not have a PL public key"%hrn)
             # if a key is unavailable, then we still need to put something in the
             # user's GID. So make one up.
             pkey = Keypair(create=True)