diff options
author | Scott Moser <smoser@ubuntu.com> | 2018-07-21 15:30:58 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2018-07-21 15:30:58 +0000 |
commit | 2a9d6203d946484cbe24297fe0e48a42a800756a (patch) | |
tree | 3af7ecced6004d4e525014687e0228838878bf3d /cloudinit/sources/DataSourceSmartOS.py | |
parent | e3e05e769a11cd2cb18e71150b05873dac95c84b (diff) | |
download | vyos-cloud-init-2a9d6203d946484cbe24297fe0e48a42a800756a.tar.gz vyos-cloud-init-2a9d6203d946484cbe24297fe0e48a42a800756a.zip |
pylint: Fix pylint warnings reported in pylint 2.0.0.
Pylint 2.0.0 was recently released and complains more about
logging-not-lazy than it used to. I've fixed those warnings, here.
The changes in rh_subscription are more extensive. pylint may be
complaining incorrectly there, but the tests were not correctly un-doing
all of their mock/patching. This cleans those up and makes pylint happy.
Diffstat (limited to 'cloudinit/sources/DataSourceSmartOS.py')
-rw-r--r-- | cloudinit/sources/DataSourceSmartOS.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceSmartOS.py b/cloudinit/sources/DataSourceSmartOS.py index f92e8b5c..ad8cfb9c 100644 --- a/cloudinit/sources/DataSourceSmartOS.py +++ b/cloudinit/sources/DataSourceSmartOS.py @@ -564,7 +564,7 @@ class JoyentMetadataSerialClient(JoyentMetadataClient): continue LOG.warning('Unexpected response "%s" during flush', response) except JoyentMetadataTimeoutException: - LOG.warning('Timeout while initializing metadata client. ' + + LOG.warning('Timeout while initializing metadata client. ' 'Is the host metadata service running?') LOG.debug('Got "invalid command". Flush complete.') self.fp.timeout = timeout |