diff options
author | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-10-18 22:04:13 +0000 |
---|---|---|
committer | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-10-18 22:04:13 +0000 |
commit | b99109bae9de06ecaa8bdc0ea0b2c9a3f5ae5de5 (patch) | |
tree | 52d1aabf82a2f2b8125f58c1fc01d7bfe03aa35f /src/lib/Server | |
parent | 6aeb555c0265f423fe256ea5dd01a0116883349b (diff) | |
download | bcfg2-b99109bae9de06ecaa8bdc0ea0b2c9a3f5ae5de5.tar.gz bcfg2-b99109bae9de06ecaa8bdc0ea0b2c9a3f5ae5de5.tar.bz2 bcfg2-b99109bae9de06ecaa8bdc0ea0b2c9a3f5ae5de5.zip |
fixed the whole bug
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2443 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r-- | src/lib/Server/Plugins/Hostbase.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/Server/Plugins/Hostbase.py b/src/lib/Server/Plugins/Hostbase.py index c83ed6d7b..5639359c4 100644 --- a/src/lib/Server/Plugins/Hostbase.py +++ b/src/lib/Server/Plugins/Hostbase.py @@ -256,10 +256,10 @@ class Hostbase(Plugin): originlist = [filename[0]] hosts = [host.__add__((host[1].split("."), host[0].split(".", 1))) for host in reversehosts] - self.templates['reverseapp'].hosts = hosts - self.templates['reverseapp'].inaddr = filename[0] - self.templates['reverseapp'].fileorigin = None - self.filedata['%s.rev' % filename[0]] += str(self.templates['reverseapp']) + self.templates['reverseapp'].hosts = hosts + self.templates['reverseapp'].inaddr = filename[0] + self.templates['reverseapp'].fileorigin = None + self.filedata['%s.rev' % filename[0]] += str(self.templates['reverseapp']) self.Entries['ConfigFile']['%s/%s.rev' % (self.filepath, filename[0])] = self.FetchFile def buildDHCP(self): |