Skip to content

Commit 0f06b98

Browse files
committedMay 17, 2017
Fix #2740
1 parent 7abdd1e commit 0f06b98

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎CHANGES.txt

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Features
1111
Bugfixes
1212
--------
1313

14+
* Ignore files ending wih "bak" (Issue #2740)
15+
1416
New in v7.8.5
1517
=============
1618

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def do_rebuild(self, event):
270270
if (fname.endswith('~') or
271271
fname.startswith('.') or
272272
'__pycache__' in event_path or
273-
event_path.endswith(('.pyc', '.pyo', '.pyd')) or
273+
event_path.endswith(('.pyc', '.pyo', '.pyd', '_bak')) or
Has a conversation. Original line has a conversation.
274274
os.path.isdir(event_path)): # Skip on folders, these are usually duplicates
275275
return
276276
self.logger.info('REBUILDING SITE (from {0})'.format(event_path))

0 commit comments

Comments
 (0)
Please sign in to comment.