diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-02-01 15:47:09 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-02-01 15:47:09 -0500 |
commit | 167da21708a9f3e64fc05c06f16b4f97cedc4491 (patch) | |
tree | c5d005016ac2ed7642e2bd113fcfd239457ad990 /cloudinit/__init__.py | |
parent | a3f0bf2ffaa0a4241b9e74aea2a201bdc33424cc (diff) | |
download | vyos-cloud-init-167da21708a9f3e64fc05c06f16b4f97cedc4491.tar.gz vyos-cloud-init-167da21708a9f3e64fc05c06f16b4f97cedc4491.zip |
remove double slash returned by get_ipath_cur
Diffstat (limited to 'cloudinit/__init__.py')
-rw-r--r-- | cloudinit/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/__init__.py b/cloudinit/__init__.py index ce4f94b3..bb4c495c 100644 --- a/cloudinit/__init__.py +++ b/cloudinit/__init__.py @@ -516,7 +516,7 @@ def purge_cache(): # get_ipath_cur: get the current instance path for an item def get_ipath_cur(name=None): - return("%s/instance/%s" % (varlibdir, pathmap[name])) + return("%s/%s%s" % (varlibdir, "instance", pathmap[name])) # get_cpath : get the "clouddir" (/var/lib/cloud/<name>) # for a name in dirmap |