summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-02-16 10:33:24 -0500
committerRob Crittenden <rcritten@redhat.com>2011-02-18 10:31:23 -0500
commitbc8d33307ab4f5d002c29bb92f91fcb95239904d (patch)
treea8ec23d1ecd718dad5b83b651e471acff8317573
parent4e1ed0c11f6565864fc12420d89b30b6f3d31221 (diff)
downloadfreeipa-bc8d33307ab4f5d002c29bb92f91fcb95239904d.zip
freeipa-bc8d33307ab4f5d002c29bb92f91fcb95239904d.tar.gz
freeipa-bc8d33307ab4f5d002c29bb92f91fcb95239904d.tar.xz
Use unicode parameters in the host plugin
https://fedorahosted.org/freeipa/ticket/977
-rw-r--r--ipaserver/install/bindinstance.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/ipaserver/install/bindinstance.py b/ipaserver/install/bindinstance.py
index ea9280b..e005653 100644
--- a/ipaserver/install/bindinstance.py
+++ b/ipaserver/install/bindinstance.py
@@ -108,7 +108,7 @@ def get_reverse_zone(ip_address_str):
else:
raise ValueError('Bad address format?')
- return zone, name
+ return unicode(zone), unicode(name)
def dns_zone_exists(name):
try:
@@ -276,8 +276,6 @@ class BindInstance(service.Service):
else:
self.zonemgr = 'root.%s.%s' % (self.host, self.domain)
- self.reverse_subnet, self.reverse_host = get_reverse_zone(ip_address)
-
self.__setup_sub_dict()
def create_sample_bind_zone(self):