summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Frame.py
diff options
context:
space:
mode:
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)