summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-04-23 14:14:54 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-04-23 14:14:54 -0400
commitaba4879418ece5fb1c1126d45dfefcca73b4abc7 (patch)
tree532640b09d95516db82d047f63c39a00c12fd6e9 /cobbler
parentb93705dc092d8e675bcb0690b29c20dbd2d58b68 (diff)
downloadthird_party-cobbler-aba4879418ece5fb1c1126d45dfefcca73b4abc7.tar.gz
third_party-cobbler-aba4879418ece5fb1c1126d45dfefcca73b4abc7.tar.xz
third_party-cobbler-aba4879418ece5fb1c1126d45dfefcca73b4abc7.zip
Services operations are now happy with unicode data.
Diffstat (limited to 'cobbler')
-rw-r--r--cobbler/services.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cobbler/services.py b/cobbler/services.py
index 70153a0..adaf6fc 100644
--- a/cobbler/services.py
+++ b/cobbler/services.py
@@ -66,8 +66,9 @@ class CobblerSvc(object):
Generate kickstart files...
"""
self.__xmlrpc_setup()
- return self.remote.generate_kickstart(profile,system,REMOTE_ADDR,REMOTE_MAC)
-
+ data = self.remote.generate_kickstart(profile,system,REMOTE_ADDR,REMOTE_MAC)
+ return u"%s" % data
+
def trig(self,mode="?",profile=None,system=None,REMOTE_ADDR=None,**rest):
"""
Hook to call install triggers.