diff options
author | David Robillard <d@drobilla.net> | 2011-09-29 22:50:08 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-09-29 22:50:08 +0000 |
commit | 31bbc76319c01b5a6eb6a70acb02a8e093fc0443 (patch) | |
tree | 2778542aed461297d73e8f726a1c06c154d1360a | |
parent | e7403295fe604fcad56665f1b548253ebd28c234 (diff) |
Python 3 fixes
git-svn-id: svn://localhost/ardour2/branches/3.0@10167 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/wscript | 4 | ||||
-rwxr-xr-x | waf | bin | 89515 -> 89479 bytes |
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/wscript b/gtk2_ardour/wscript index 8061f71e15..eb5e61712c 100644 --- a/gtk2_ardour/wscript +++ b/gtk2_ardour/wscript @@ -289,7 +289,7 @@ def _doPyp(infileName): if infileName == '-': fd = sys.stdin else: - fd = file(infileName) + fd = open(infileName) inLines = fd.readlines() if fd != sys.stdin: fd.close() @@ -310,7 +310,7 @@ def _doPyp(infileName): def include_processor(task): infileName = task.inputs[0].srcpath() outfileName = os.path.join(out, task.outputs[0].bldpath()) - fdOut = file (outfileName, "w") + fdOut = open (outfileName, "w") fdOut.write (_doPyp(infileName)) fdOut.close () |