diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-02-16 10:33:24 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-02-18 10:31:23 -0500 |
commit | bc8d33307ab4f5d002c29bb92f91fcb95239904d (patch) | |
tree | a8ec23d1ecd718dad5b83b651e471acff8317573 /ipaserver/install/bindinstance.py | |
parent | 4e1ed0c11f6565864fc12420d89b30b6f3d31221 (diff) | |
download | freeipa-bc8d33307ab4f5d002c29bb92f91fcb95239904d.tar.gz freeipa-bc8d33307ab4f5d002c29bb92f91fcb95239904d.tar.xz freeipa-bc8d33307ab4f5d002c29bb92f91fcb95239904d.zip |
Use unicode parameters in the host plugin
https://fedorahosted.org/freeipa/ticket/977
Diffstat (limited to 'ipaserver/install/bindinstance.py')
-rw-r--r-- | ipaserver/install/bindinstance.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ipaserver/install/bindinstance.py b/ipaserver/install/bindinstance.py index ea9280b3c..e0056536d 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): |