summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-01-18 19:05:13 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-01-18 19:05:13 +0000
commitf39f7d1fe973f8aae5059abd7b471a285a43dcb7 (patch)
treea916ce68817b16199a48d068216bef01fed49014 /src/lib/Server
parent9ba6753ac733f8ca9837b21987c6f34d3d8cce71 (diff)
downloadbcfg2-f39f7d1fe973f8aae5059abd7b471a285a43dcb7.tar.gz
bcfg2-f39f7d1fe973f8aae5059abd7b471a285a43dcb7.tar.bz2
bcfg2-f39f7d1fe973f8aae5059abd7b471a285a43dcb7.zip
Fix test in case of using fulldata uploads for bcfg2-admin pull [bugfix]
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4263 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Plugins/Cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Cfg.py b/src/lib/Server/Plugins/Cfg.py
index d9e7d2940..424dd6c9d 100644
--- a/src/lib/Server/Plugins/Cfg.py
+++ b/src/lib/Server/Plugins/Cfg.py
@@ -401,7 +401,7 @@ class Cfg(Bcfg2.Server.Plugin.Plugin):
for x in self.entries[entry_name].metadata.iteritems():
infofile.write("%s: %s\n" % x)
infofile.close()
- if not diff or fulldata:
+ if not diff and not fulldata:
raise SystemExit, 0
hsq = "Found host-specific file %s; Should it be updated (n/Y): "