python: better support for Python3 (adapted from Capstone code)

This commit is contained in:
Nguyen Anh Quynh
2015-10-04 10:55:29 +08:00
parent d13a4197f1
commit d93210ad5a
2 changed files with 8 additions and 9 deletions

View File

@ -323,8 +323,7 @@ def debug():
all_archs = ""
keys = archs.keys()
keys.sort()
for k in keys:
for k in sorted(keys):
if uc_arch_supported(archs[k]):
all_archs += "-%s" % k