summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceSmartOS.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2018-07-21 15:30:58 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2018-07-21 15:30:58 +0000
commit2a9d6203d946484cbe24297fe0e48a42a800756a (patch)
tree3af7ecced6004d4e525014687e0228838878bf3d /cloudinit/sources/DataSourceSmartOS.py
parente3e05e769a11cd2cb18e71150b05873dac95c84b (diff)
downloadvyos-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.py2
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