diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-09-24 18:38:57 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-09-24 18:38:57 -0700 |
commit | 90b6cfd005f5af90991fe93e5a08c8a8849e2a6d (patch) | |
tree | 87bd63ad6e5b814e61b1deba76cd5a4e01b2f3a3 /cloudinit/sources/__init__.py | |
parent | 0be941f74f54ecafcb628451f531b90f30723fbc (diff) | |
parent | 67e7d9c0280c3204cf503113d9dca769399eefc9 (diff) | |
download | vyos-cloud-init-90b6cfd005f5af90991fe93e5a08c8a8849e2a6d.tar.gz vyos-cloud-init-90b6cfd005f5af90991fe93e5a08c8a8849e2a6d.zip |
Update to bring inline with trunk/head.
Diffstat (limited to 'cloudinit/sources/__init__.py')
-rw-r--r-- | cloudinit/sources/__init__.py | 2 |
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(".") |