We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a176b77 + 6970c0b commit ae9fc22Copy full SHA for ae9fc22
1 file changed
pep8.py
@@ -1918,7 +1918,7 @@ def _main():
1918
# Handle "Broken pipe" gracefully
1919
try:
1920
signal.signal(signal.SIGPIPE, lambda signum, frame: sys.exit(1))
1921
- except ValueError:
+ except AttributeError:
1922
pass # not supported on Windows
1923
1924
pep8style = StyleGuide(parse_argv=True, config_file=True)
0 commit comments