diff options
author | Tomas Babej <tbabej@redhat.com> | 2016-01-15 16:25:33 +0100 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-01-18 17:49:54 +0100 |
commit | 78c5bf9f8e85b4c6c9b67b4a26acedfd45a2c86f (patch) | |
tree | 06768801faee93c947a75090f9d978099c290543 /ipaserver/install/ipa_otptoken_import.py | |
parent | e7a4faab81dad6b77373d6f57f597c411a7557f4 (diff) | |
download | freeipa-78c5bf9f8e85b4c6c9b67b4a26acedfd45a2c86f.tar.gz freeipa-78c5bf9f8e85b4c6c9b67b4a26acedfd45a2c86f.tar.xz freeipa-78c5bf9f8e85b4c6c9b67b4a26acedfd45a2c86f.zip |
logger: Use warning instead of warn
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipaserver/install/ipa_otptoken_import.py')
-rw-r--r-- | ipaserver/install/ipa_otptoken_import.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/ipa_otptoken_import.py b/ipaserver/install/ipa_otptoken_import.py index 8ea67fce1..64670a6ff 100644 --- a/ipaserver/install/ipa_otptoken_import.py +++ b/ipaserver/install/ipa_otptoken_import.py @@ -523,7 +523,7 @@ class OTPTokenImport(admintool.AdminTool): try: api.Command.otptoken_add(keypkg.id, no_qrcode=True, **keypkg.options) except Exception as e: - self.log.warn("Error adding token: %s", e) + self.log.warning("Error adding token: %s", e) else: self.log.info("Added token: %s", keypkg.id) keypkg.remove() |