From 167da21708a9f3e64fc05c06f16b4f97cedc4491 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Tue, 1 Feb 2011 15:47:09 -0500 Subject: remove double slash returned by get_ipath_cur --- cloudinit/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudinit/__init__.py') 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/) # for a name in dirmap -- cgit v1.2.3