Eolian: More py3 compat
This commit is contained in:
parent
8f33ffdc40
commit
46e5b7edd1
|
@ -105,7 +105,10 @@ conversions_out = {
|
|||
|
||||
def conv_cls_name(cls):
|
||||
if cls.namespaces:
|
||||
lib_name = ".".join(map(unicode.lower, cls.namespaces))
|
||||
lib_name = []
|
||||
for ns in cls.namespaces:
|
||||
lib_name.append(ns.lower())
|
||||
lib_name = ".".join(lib_name)
|
||||
name = cls.name
|
||||
if name[0].isdigit():
|
||||
name = "_".join(cls.namespaces) + name
|
||||
|
|
Loading…
Reference in New Issue