diff options
author | Michele Simionato <michele.simionato@gmail.com> | 2018-04-15 10:44:27 +0200 |
---|---|---|
committer | Michele Simionato <michele.simionato@gmail.com> | 2018-04-15 10:44:27 +0200 |
commit | cea92181599e40e774e8d41cabe364bc8c5bd000 (patch) | |
tree | 065ca19bfb6798f4a34aa3a47e1b9c0395c09d34 | |
parent | 68776bf27fc26e242bee1c80ebf01abb3784c10d (diff) | |
download | python-decorator-git-cea92181599e40e774e8d41cabe364bc8c5bd000.tar.gz |
PEP8 fix
-rw-r--r-- | src/decorator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decorator.py b/src/decorator.py index 361c36e..517d420 100644 --- a/src/decorator.py +++ b/src/decorator.py @@ -177,7 +177,7 @@ class FunctionMaker(object): try: code = compile(src, filename, 'single') exec(code, evaldict) - except: + except Exception: print('Error in generated code:', file=sys.stderr) print(src, file=sys.stderr) raise |