diff options
author | Joshua Harlow <harlowja@gmail.com> | 2016-07-13 15:10:54 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@gmail.com> | 2016-07-13 15:10:54 -0700 |
commit | ba55775fbd18452d79d5962c912995ac36567dc2 (patch) | |
tree | 8be4f493b6ab2e850eb5920d348bf4c416cf594b | |
parent | f5ea273e36615cfbbe8f35b3963935e75e22c4a1 (diff) | |
download | vyos-cloud-init-ba55775fbd18452d79d5962c912995ac36567dc2.tar.gz vyos-cloud-init-ba55775fbd18452d79d5962c912995ac36567dc2.zip |
String format requires positions on python 2.6
-rw-r--r-- | cloudinit/net/eni.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/net/eni.py b/cloudinit/net/eni.py index e5ed10fd..91f83e60 100644 --- a/cloudinit/net/eni.py +++ b/cloudinit/net/eni.py @@ -61,7 +61,7 @@ def _iface_add_subnet(iface, subnet): value = " ".join(value) if '_' in key: key = key.replace('_', '-') - content += " {} {}\n".format(key, value) + content += " {0} {1}\n".format(key, value) return content @@ -86,7 +86,7 @@ def _iface_add_attrs(iface): if value and key not in ignore_map: if type(value) == list: value = " ".join(value) - content += " {} {}\n".format(key, value) + content += " {0} {1}\n".format(key, value) return content |