Commits

George Notaras committed f994ab4

Added note about unicode support in dnspython.

Comments (0)

Files changed (1)

src/powerdns_manager/utils.py

     *****
     
     """
+    # TODO: check what goes on with unicode
     # Does not seem to be able to process unicode, so encode data to latin1
     origin = origin.encode('latin1')
     zonetext = zonetext.encode('latin1')
     
     # Generate the zone file
     
-    origin = origin.encode('latin1')
+    origin = origin.encode('latin1')    # TODO: check what goes on with unicode
     
     # Add trailing dot to origin
     origin = origin.rstrip('.') + '.'