Commit d2c85fab authored by Karl Lindén's avatar Karl Lindén
Browse files

catch IOError instead of FileNotFoundError to not break compilation on python2

parent ba965948
......@@ -608,7 +608,7 @@ def configure(conf):
if m != None:
svnrev = m.group(1)
f.close()
except FileNotFoundError:
except IOError:
pass
if Options.options.mixed == True:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment