diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-01-19 20:41:59 +0000 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-01-19 20:41:59 +0000 |
commit | f2cb6fa249c0f9a17aa8efd27749860622fd8ae1 (patch) | |
tree | 9789fc61a6af27cb3d3d7c6da64193767fccb1d7 /cloudinit | |
parent | 14aa0cac0d5e2b57dc94f2145fdbd3d494898019 (diff) | |
download | vyos-cloud-init-f2cb6fa249c0f9a17aa8efd27749860622fd8ae1.tar.gz vyos-cloud-init-f2cb6fa249c0f9a17aa8efd27749860622fd8ae1.zip |
fix bug in get_cpath
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/__init__.py | 4 |
1 files changed, 1 insertions, 3 deletions
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/<name>) # 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 |