This patch will break backwards compatibility with pre-patch minions.
(is BC a goal?)

The following change will test for this before the call to
deep_base64. As an alternative, deep_base64 could be broken into an
encode and decode function with the proper checks.

-Adam

@@ -649,7 +649,9 @@ class Overlord(object):

if self.interactive:
print retval
-
+
+if isinstance(retval, basestring):
+    from xmlrpclib import Binary
+    retval = return Binary(retval)
+
+ retval = func_utils.deep_base64(retval)
+

_______________________________________________
Func-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/func-list

Reply via email to