Browse Source

catch IOError instead of FileNotFoundError to not break compilation on python2

tags/v1.9.11-RC1
Karl Lindén 10 years ago
parent
commit
d2c85fab0d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      wscript

+ 1
- 1
wscript View File

@@ -608,7 +608,7 @@ def configure(conf):
if m != None: if m != None:
svnrev = m.group(1) svnrev = m.group(1)
f.close() f.close()
except FileNotFoundError:
except IOError:
pass pass


if Options.options.mixed == True: if Options.options.mixed == True:


Loading…
Cancel
Save