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 /install/tools | |
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 'install/tools')
-rwxr-xr-x | install/tools/ipa-httpd-kdcproxy | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/install/tools/ipa-httpd-kdcproxy b/install/tools/ipa-httpd-kdcproxy index 5e9863f8b..5e67f61a6 100755 --- a/install/tools/ipa-httpd-kdcproxy +++ b/install/tools/ipa-httpd-kdcproxy @@ -141,7 +141,7 @@ class KDCProxyConfig(object): try: valid = self.validate_symlink() except ConfigFileError as e: - self.log.warn("Cannot enable KDC proxy: %s " % e) + self.log.warning("Cannot enable KDC proxy: %s " % e) return False if valid: @@ -149,7 +149,7 @@ class KDCProxyConfig(object): return True if not os.path.isfile(self.conf): - self.log.warn("'%s' does not exist", self.conf) + self.log.warning("'%s' does not exist", self.conf) return False # create the symbolic link @@ -163,7 +163,7 @@ class KDCProxyConfig(object): try: valid = self.validate_symlink() except CheckError as e: - self.log.warn("Cannot disable KDC proxy: %s " % e) + self.log.warning("Cannot disable KDC proxy: %s " % e) return False if valid: @@ -203,8 +203,8 @@ def main(debug=DEBUG, time_limit=TIME_LIMIT): api.log.info('KDC proxy disabled') return 0 except CheckError as e: - api.log.warn(str(e)) - api.log.warn('Disabling KDC proxy') + api.log.warning(str(e)) + api.log.warning('Disabling KDC proxy') cfg.remove_symlink() return 0 except Exception as e: |