summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Admin/Pull.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Bcfg2/Server/Admin/Pull.py')
-rw-r--r--src/lib/Bcfg2/Server/Admin/Pull.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Server/Admin/Pull.py b/src/lib/Bcfg2/Server/Admin/Pull.py
index 1ddb9c2ad..acbb44e9e 100644
--- a/src/lib/Bcfg2/Server/Admin/Pull.py
+++ b/src/lib/Bcfg2/Server/Admin/Pull.py
@@ -73,7 +73,7 @@ class Pull(Bcfg2.Server.Admin.MetadataCore):
new_entry = {'type': etype, 'name': ename}
for plugin in self.bcore.pull_sources:
try:
- (owner, group, perms, contents) = \
+ (owner, group, mode, contents) = \
plugin.GetCurrentEntry(client, etype, ename)
break
except Bcfg2.Server.Plugin.PluginExecutionError:
@@ -84,7 +84,7 @@ class Pull(Bcfg2.Server.Admin.MetadataCore):
try:
data = {'owner': owner,
'group': group,
- 'perms': perms,
+ 'mode': mode,
'text': contents}
except UnboundLocalError:
print("Unable to build entry. "