diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2014-04-29 18:57:35 +0200 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2014-04-29 18:57:35 +0200 |
commit | ae9fc22fd154ea7d16606cdf2880ed86c2eab1b1 (patch) | |
tree | d6c0ba79292ebfd24f91e6e8023edd872a9a362a | |
parent | a176b77c22ef0c0263ca4f956b9b7c91ea659885 (diff) | |
parent | 6970c0ba8ea685cde2fa0cb182f351854911d6bd (diff) | |
download | pep8-ae9fc22fd154ea7d16606cdf2880ed86c2eab1b1.tar.gz |
Merge pull request #280 from lordhellcito/patch-1
The Windows platform does not define signal SIGPIPE
-rwxr-xr-x | pep8.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1918,7 +1918,7 @@ def _main(): # Handle "Broken pipe" gracefully try: signal.signal(signal.SIGPIPE, lambda signum, frame: sys.exit(1)) - except ValueError: + except AttributeError: pass # not supported on Windows pep8style = StyleGuide(parse_argv=True, config_file=True) |