Skip to content

Commit f777562

Browse files
committedJul 24, 2015
better comment, updated changelog
1 parent 80a49ad commit f777562

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎CHANGES.txt

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Features
99
Bugfixes
1010
--------
1111

12+
* Avoid Broken Pipe error in nikola auto (Issue #1906)
1213
* Don't auto-rebuild on changes to ".foo" or "foo~" or changes in folders.
1314
* auto should also rebuild in response to move events
1415
* Don’t get metadata from file if compiler-specific metadata exist (Issue #1904)

‎nikola/plugins/command/auto/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ def on_any_event(self, event):
422422
def finish_response(self):
423423
try:
424424
f(self)
425-
except EX: # On Python3 this is a BrokenPipeException
425+
except EX: # Client closed the connection, not a real error
426426
pass
427427

428428
WebSocketWSGIHandler.finish_response = finish_response

0 commit comments

Comments
 (0)
Please sign in to comment.