diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-01-18 19:05:13 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-01-18 19:05:13 +0000 |
commit | f39f7d1fe973f8aae5059abd7b471a285a43dcb7 (patch) | |
tree | a916ce68817b16199a48d068216bef01fed49014 | |
parent | 9ba6753ac733f8ca9837b21987c6f34d3d8cce71 (diff) | |
download | bcfg2-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
-rw-r--r-- | src/lib/Server/Plugins/Cfg.py | 2 |
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): " |