fix flake8 issues suggested by cclauss

This commit is contained in:
wmayer
2019-01-04 15:30:17 +01:00
parent 56db51867c
commit 9f2904e8ec

View File

@@ -78,10 +78,9 @@ class Prepare(run.Prepare):
except writer.WriteError as e:
self.report.error(str(e))
self.fail()
except IOError as e:
except IOError:
self.report.error("Can't access working directory.")
self.fail()
del e # get flake8 quit
def checkHandled(self, w):
handled = w.getHandledConstraints()