mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-02 16:25:47 -04:00
Use print() for Python 3 compatibility.
This doesn't get everything working in Python 3 yet but it's a start.
This commit is contained in:
parent
83a44dbc39
commit
b5d0a04088
4 changed files with 9 additions and 9 deletions
|
@ -205,11 +205,11 @@ if __name__ == "__main__":
|
|||
fixed_note = instrument.fixed_note
|
||||
|
||||
if fixed_note is not None:
|
||||
print "%i (fixed note: %i):" % (i, fixed_note)
|
||||
print("%i (fixed note: %i):" % (i, fixed_note))
|
||||
else:
|
||||
print "%i:" % i
|
||||
print("%i:" % i)
|
||||
|
||||
print "\tVoice 1: %s" % instrument.voice1
|
||||
print("\tVoice 1: %s" % instrument.voice1)
|
||||
if instrument.voice2 is not None:
|
||||
print "\tVoice 2: %s" % instrument.voice2
|
||||
print("\tVoice 2: %s" % instrument.voice2)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue