X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=snaps%2Fprovisioning%2Fansible_utils.py;h=3fbc88f162e9dbba725309f96cb9c6e0126098ba;hb=d1c4675e5c35257b84cd69969c6e67575faf19db;hp=39ae1e6c1db79dfd945a1b070e39e662a30ca667;hpb=4af1c6afbe5edebf7bc01afe6dd9c279716630bc;p=snaps.git diff --git a/snaps/provisioning/ansible_utils.py b/snaps/provisioning/ansible_utils.py index 39ae1e6..3fbc88f 100644 --- a/snaps/provisioning/ansible_utils.py +++ b/snaps/provisioning/ansible_utils.py @@ -1,4 +1,4 @@ -# Copyright (c) 2016 Cable Television Laboratories, Inc. ("CableLabs") +# Copyright (c) 2017 Cable Television Laboratories, Inc. ("CableLabs") # and others. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -105,4 +105,4 @@ def ssh_client(ip, user, private_key_filepath, proxy_settings=None): ssh.connect(ip, username=user, key_filename=private_key_filepath, sock=proxy_cmd) return ssh except Exception as e: - logger.warn('Unable to connect via SSH with message - ' + e.message) + logger.warning('Unable to connect via SSH with message - ' + str(e))