Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1ddc449

Browse files
committedMay 17, 2017
Merge branch 'master' into page.tmpl
2 parents 1a5980c + f706da9 commit 1ddc449

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -267,12 +267,11 @@ def do_rebuild(self, event):
267267
# move on larger save operations for write protection
268268
event_path = event.dest_path if hasattr(event, 'dest_path') else event.src_path
269269
fname = os.path.basename(event_path)
270-
from doit.tools import set_trace; set_trace()
271270
if (fname.endswith('~') or
272271
fname.startswith('.') or
273272
'__pycache__' in event_path or
274273
event_path.endswith(('.pyc', '.pyo', '.pyd', '_bak')) or
275-
event.is_directory: # Skip on folders, these are usually duplicates
274+
event.is_directory): # Skip on folders, these are usually duplicates
276275
return
277276
self.logger.info('REBUILDING SITE (from {0})'.format(event_path))
278277
p = subprocess.Popen(self.cmd_arguments, stderr=subprocess.PIPE)

0 commit comments

Comments
 (0)
Please sign in to comment.