fix some python3 incompatibilities
This commit is contained in:
parent
c81f201d48
commit
261d4d8185
4 changed files with 25 additions and 24 deletions
|
|
@ -13,7 +13,7 @@ while True:
|
|||
if more_re.match(line):
|
||||
indent += 1
|
||||
|
||||
print "%03d %s%s" % (indent, " " * indent, line.strip())
|
||||
print("%03d %s%s" % (indent, " " * indent, line.strip()))
|
||||
|
||||
if less_re.match(line):
|
||||
indent -= 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue