From f2cb6fa249c0f9a17aa8efd27749860622fd8ae1 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 19 Jan 2011 20:41:59 +0000 Subject: fix bug in get_cpath --- cloudinit/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cloudinit/__init__.py') diff --git a/cloudinit/__init__.py b/cloudinit/__init__.py index 8358085d..296af051 100644 --- a/cloudinit/__init__.py +++ b/cloudinit/__init__.py @@ -507,10 +507,8 @@ def get_ipath_cur(name=None): # get_cpath : get the "clouddir" (/var/lib/cloud/) # for a name in dirmap -def get_cpath(self, name=None): +def get_cpath(name=None): return("%s%s" % (varlibdir, pathmap[name])) - - class DataSourceNotFoundException(Exception): pass -- cgit v1.2.3