mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
make runnable with python3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -125,12 +125,12 @@ def main():
|
||||
|
||||
def writeFile(filename, stub, values):
|
||||
if os.path.exists(filename):
|
||||
print "'%s' already exists. Exiting." % filename
|
||||
print("'%s' already exists. Exiting." % filename)
|
||||
sys.exit(1)
|
||||
output = open(filename, 'w')
|
||||
output.write(stub % values)
|
||||
output.close()
|
||||
print "Wrote", filename
|
||||
print("Wrote %s" % filename)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user