fix build with python3 only

This commit is contained in:
Alexander Alekhin
2015-08-26 13:07:37 +03:00
parent b33853c5be
commit bbff288447
2 changed files with 11 additions and 2 deletions

View File

@@ -924,6 +924,10 @@ class FuncInfo(GeneralInfo):
def __repr__(self):
return Template("FUNC <$ctype $namespace.$classpath.$name $args>").substitute(**self.__dict__)
def __lt__(self, other):
return self.__repr__() < other.__repr__()
class JavaWrapperGenerator(object):
def __init__(self):
self.clear()