Skip to content

Commit

Permalink
fix flake8 issues suggested by cclauss
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jan 4, 2019
1 parent 56db518 commit 9f2904e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Mod/Fem/femsolver/elmer/tasks.py
Expand Up @@ -78,10 +78,9 @@ def run(self):
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()
Expand Down

0 comments on commit 9f2904e

Please sign in to comment.