summaryrefslogtreecommitdiff
path: root/cloudinit/sources/__init__.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-09-24 16:54:51 -0400
committerScott Moser <smoser@ubuntu.com>2012-09-24 16:54:51 -0400
commitcde52cc8449d82d5bdce2fbb73516bee144e293c (patch)
treecf6514c0713c3689e82a10176d08eae002c58204 /cloudinit/sources/__init__.py
parentad22d407085009dcd1c860185e29f21858cdd968 (diff)
downloadvyos-cloud-init-cde52cc8449d82d5bdce2fbb73516bee144e293c.tar.gz
vyos-cloud-init-cde52cc8449d82d5bdce2fbb73516bee144e293c.zip
fix make pep8
Diffstat (limited to 'cloudinit/sources/__init__.py')
-rw-r--r--cloudinit/sources/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/__init__.py b/cloudinit/sources/__init__.py
index 6f126091..04083d0c 100644
--- a/cloudinit/sources/__init__.py
+++ b/cloudinit/sources/__init__.py
@@ -173,7 +173,7 @@ class DataSource(object):
# make up a hostname (LP: #475354) in format ip-xx.xx.xx.xx
lhost = self.metadata['local-hostname']
if util.is_ipv4(lhost):
- toks = [ "ip-%s" % lhost.replace(".", "-") ]
+ toks = ["ip-%s" % lhost.replace(".", "-")]
else:
toks = lhost.split(".")