login
In Python 3 you can no longer use 'unicode' for Unicode text because all strings are now unicode.
The whole 'canonical' function can be removed but for now I am testing by updating the method to be the following:
def canonical(self, aString): if self.p4.charset == "utf8": return aString.lower() else: return aString.lower()
In Python 3 you can no longer use 'unicode' for Unicode text because all strings are now unicode.
The whole 'canonical' function can be removed but for now I am testing by updating the method to be the following: