Skip to content

Commit f23353b

Browse files
committedJul 5, 2015
Surpress wincing when auto is aborted during rebuilding
1 parent d498e68 commit f23353b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
 

Diff for: ‎CHANGES.txt

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

12+
* Surpress wincing when auto is aborted during rebuilding
1213
* Show tags only from the current language on tag listing pages (Issue #1856)
1314
* Remove gap between line numbers and code (Issue #1859)
1415
* Fix spurious warnings about posts published in the future (Issue #1850)

Diff for: ‎nikola/plugins/command/auto/__init__.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,10 @@ def _execute(self, options, args):
181181
_conf_dn = os.path.dirname(_conf_fn)
182182
observer.schedule(ConfigWatchHandler(_conf_fn, self.do_rebuild), _conf_dn, recursive=False)
183183

184-
observer.start()
184+
try:
185+
observer.start()
186+
except KeyboardInterrupt:
187+
pass
Has a conversation. Original line has a conversation.
185188

186189
parent = self
187190

0 commit comments

Comments
 (0)
Please sign in to comment.