summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2012-05-18 14:01:35 -0500
committerTim Laszlo <tim.laszlo@gmail.com>2012-05-18 14:02:48 -0500
commitdbd958c387af890da5e7b455fb409f8e567dce15 (patch)
tree263e35cdbad8b149ab17ba104cb66efdadaced1a
parent196adc356f59b8a507fff09b25ab1c3ea7b150c9 (diff)
downloadbcfg2-dbd958c387af890da5e7b455fb409f8e567dce15.tar.gz
bcfg2-dbd958c387af890da5e7b455fb409f8e567dce15.tar.bz2
bcfg2-dbd958c387af890da5e7b455fb409f8e567dce15.zip
CfgLegacyInfo: Missing path attribute
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Cfg/CfgLegacyInfo.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Cfg/CfgLegacyInfo.py b/src/lib/Bcfg2/Server/Plugins/Cfg/CfgLegacyInfo.py
index 54c17c6c5..85c13c1ac 100644
--- a/src/lib/Bcfg2/Server/Plugins/Cfg/CfgLegacyInfo.py
+++ b/src/lib/Bcfg2/Server/Plugins/Cfg/CfgLegacyInfo.py
@@ -7,6 +7,10 @@ logger = logging.getLogger(__name__)
class CfgLegacyInfo(CfgInfo):
__basenames__ = ['info', ':info']
+ def __init__(self, path):
+ CfgInfo.__init__(self, path)
+ self.path = path
+
def bind_info_to_entry(self, entry, metadata):
self._set_info(entry, self.metadata)