diff options
author | Paul McGuire <ptmcg@users.noreply.github.com> | 2018-12-24 20:08:50 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-24 20:08:50 -0600 |
commit | d5cce29645b3f25526313210485e5ce7096dec63 (patch) | |
tree | e7f9404d6d5675308f61e5f26acaaced6e66557f /examples/dfmparse.py | |
parent | 7ee59bf9bec777b5a3f627dc2cfbde637ce9ebfc (diff) | |
parent | df9b2d50b75ee42663195058f3112e6c440381c5 (diff) | |
download | pyparsing-git-d5cce29645b3f25526313210485e5ce7096dec63.tar.gz |
Merge pull request #58 from jdufresne/bare-except
Replace bare 'except:' with 'except Exception;'
Diffstat (limited to 'examples/dfmparse.py')
-rw-r--r-- | examples/dfmparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dfmparse.py b/examples/dfmparse.py index d77a7ff..ae74bf0 100644 --- a/examples/dfmparse.py +++ b/examples/dfmparse.py @@ -161,7 +161,7 @@ def main(testfiles=None, action=printer): try:
retval[f] = object_definition.parseFile(f)
success += 1
- except:
+ except Exception:
failures.append(f)
if failures:
|