diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2005-12-01 03:09:25 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2005-12-01 03:09:25 +0000 |
commit | 7104cd76f7d7d3f04102334a03e29fe907458ec9 (patch) | |
tree | 47aff18d97fb4d2698f3d31b9085843b2538e727 /src/lib | |
parent | 2ee677378371a7fb54bf065acaa0db9e972697c5 (diff) | |
download | bcfg2-7104cd76f7d7d3f04102334a03e29fe907458ec9.tar.gz bcfg2-7104cd76f7d7d3f04102334a03e29fe907458ec9.tar.bz2 bcfg2-7104cd76f7d7d3f04102334a03e29fe907458ec9.zip |
fix lxml transcription bug
(Logical change 1.379)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1596 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Server/Plugins/Account.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Account.py b/src/lib/Server/Plugins/Account.py index 7368f74e7..d618842cd 100644 --- a/src/lib/Server/Plugins/Account.py +++ b/src/lib/Server/Plugins/Account.py @@ -54,6 +54,6 @@ class Account(Plugin): rootlike = [line.split(':', 1) for line in self.repository.entries['rootlike'].data.split()] superusers += [user for (user, host) in rootlike if host == metadata.hostname.split('.')[0]] rdata = self.repository.entries - entry.text = "".join([rdata[user] for user in superusers if rdata.has_key(user)]) + entry.text = "".join([rdata["%s.key" % user] for user in superusers if rdata.has_key("%s.key" % user)]) perms = {'owner':'root', 'group':'root', 'perms':'0600'} [entry.attrib.__setitem__(key, value) for (key, value) in perms.iteritems()] |