summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Account.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-12-02 19:06:39 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-12-02 19:06:39 +0000
commitccc99edf650eb11671792245efeb812a76ab0fd1 (patch)
treebf161bbcecc604a29702162723f509deb03943e7 /src/lib/Server/Plugins/Account.py
parent1b0a5f094be68e03def4132cecddad6068225461 (diff)
downloadbcfg2-ccc99edf650eb11671792245efeb812a76ab0fd1.tar.gz
bcfg2-ccc99edf650eb11671792245efeb812a76ab0fd1.tar.bz2
bcfg2-ccc99edf650eb11671792245efeb812a76ab0fd1.zip
version bumps
fix export to do tagging git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1610 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/Account.py')
-rw-r--r--src/lib/Server/Plugins/Account.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Account.py b/src/lib/Server/Plugins/Account.py
index bd902fa0b..5d2853e9e 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["%s.key" % user] for user in superusers if rdata.has_key("%s.key" % user)])
+ entry.text = "".join([rdata["%s.key" % user].data 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()]