summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceCloudStack.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-08-22 14:26:35 -0400
committerScott Moser <smoser@ubuntu.com>2012-08-22 14:26:35 -0400
commit0bc9f3aad55b6b1d50f80ef1b1688c2ceb1c8a84 (patch)
tree84509440ef196e5741ece308a7f806d660accbda /cloudinit/sources/DataSourceCloudStack.py
parent26dd7461ce7ce9a6cba541ece94b802df772168b (diff)
parent451e48732ff7885502db2f8296777fa58b670f3b (diff)
downloadvyos-cloud-init-0bc9f3aad55b6b1d50f80ef1b1688c2ceb1c8a84.tar.gz
vyos-cloud-init-0bc9f3aad55b6b1d50f80ef1b1688c2ceb1c8a84.zip
merge from trunk for pep8 fixes
Diffstat (limited to 'cloudinit/sources/DataSourceCloudStack.py')
-rw-r--r--cloudinit/sources/DataSourceCloudStack.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cloudinit/sources/DataSourceCloudStack.py b/cloudinit/sources/DataSourceCloudStack.py
index 5c5f8bd7..f7ffa7cb 100644
--- a/cloudinit/sources/DataSourceCloudStack.py
+++ b/cloudinit/sources/DataSourceCloudStack.py
@@ -49,8 +49,7 @@ class DataSourceCloudStack(sources.DataSource):
self.metadata_address = "http://%s/" % (gw_addr)
def get_default_gateway(self):
- """ Returns the default gateway ip address in the dotted format
- """
+ """Returns the default gateway ip address in the dotted format."""
lines = util.load_file("/proc/net/route").splitlines()
for line in lines:
items = line.split("\t")