summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-09-26 19:31:26 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-09-26 19:31:26 +0000
commit31a81c82a5c8e71a7e355dc1426da10ec6e28a45 (patch)
tree293d4bcb6d74ad48442cb2491af0736e4a8ffff5 /src/lib
parent163f425fa604b898f2d2b3aef47770790adad3ea (diff)
downloadbcfg2-31a81c82a5c8e71a7e355dc1426da10ec6e28a45.tar.gz
bcfg2-31a81c82a5c8e71a7e355dc1426da10ec6e28a45.tar.bz2
bcfg2-31a81c82a5c8e71a7e355dc1426da10ec6e28a45.zip
Fix deltas (Resolves Ticket #599)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4922 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-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 5dcf51d05..f1c2a605f 100644
--- a/src/lib/Server/Plugins/Cfg.py
+++ b/src/lib/Server/Plugins/Cfg.py
@@ -72,7 +72,7 @@ class CfgEntrySet(Bcfg2.Server.Plugin.EntrySet):
def bind_entry(self, entry, metadata):
self.bind_info_to_entry(entry, metadata)
used = self.get_pertinent_entries(metadata)
- basefile = used.pop()
+ basefile = used.pop(0)
data = basefile.data
for delta in used:
data = process_delta(data, delta)