summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Frame.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-07-13 18:16:04 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-07-13 18:16:04 +0000
commit3377f174bdd0bcf3f6212038dbc51cdb922e5481 (patch)
treef6454b237c2b4b67788f9273bead3027fce67404 /src/lib/Client/Frame.py
parentbef026fd845d90b4b347f18ee0282302dbcb0e72 (diff)
downloadbcfg2-3377f174bdd0bcf3f6212038dbc51cdb922e5481.tar.gz
bcfg2-3377f174bdd0bcf3f6212038dbc51cdb922e5481.tar.bz2
bcfg2-3377f174bdd0bcf3f6212038dbc51cdb922e5481.zip
Add checker support to Component
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3441 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Frame.py')
-rw-r--r--src/lib/Client/Frame.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/Client/Frame.py b/src/lib/Client/Frame.py
index f685e7491..a2682d023 100644
--- a/src/lib/Client/Frame.py
+++ b/src/lib/Client/Frame.py
@@ -1,7 +1,7 @@
'''Frame is the Client Framework that verifies and installs entries, and generates statistics'''
__revision__ = '$Revision$'
-import logging, time
+import binascii, logging, time
import Bcfg2.Client.Tools
def cmpent(ent1, ent2):
@@ -326,6 +326,10 @@ class Frame:
for item in data:
item.set('qtext', '')
container.append(item)
+ if item.get('current_diff', False):
+ item.set('current_bdiff',
+ binascii.a2b_base64(item.get('current_diff')))
+ item.set('current_diff', '')
timeinfo = Bcfg2.Client.XML.Element("OpStamps")
feedback.append(stats)