From 52ed985fe2de7aaef2cc4d6aa6825aa6b04a55c7 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Wed, 6 Jul 2011 14:04:57 -0400 Subject: [PATCH] logger.warn instead of logger.warning --- sfa/plc/sfaImport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.0