Python 3 fixes

git-svn-id: svn://localhost/ardour2/branches/3.0@10167 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2011-09-29 22:50:08 +00:00
parent e7403295fe
commit 31bbc76319
2 changed files with 2 additions and 2 deletions

View File

@ -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 ()

BIN
waf vendored

Binary file not shown.