From: Tony Mack Date: Wed, 6 Jul 2011 18:04:57 +0000 (-0400) Subject: logger.warn instead of logger.warning X-Git-Tag: sfa-1.0-27~27 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=52ed985fe2de7aaef2cc4d6aa6825aa6b04a55c7;p=sfa.git logger.warn instead of logger.warning --- diff --git a/sfa/plc/sfaImport.py b/sfa/plc/sfaImport.py index ee34833b..cce4efe4 100644 --- a/sfa/plc/sfaImport.py +++ b/sfa/plc/sfaImport.py @@ -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)