Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c22eb01

Browse files
committed
Bugfix: last_changed would always print current time.
1 parent 80c2a16 commit c22eb01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/faqwiz/faqwiz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ def last_changed(self, files):
489489
mtime = mtime = entry.getmtime()
490490
if mtime > latest:
491491
latest = mtime
492-
print time.strftime(LAST_CHANGED, time.localtime(now))
492+
print time.strftime(LAST_CHANGED, time.localtime(latest))
493493
emit(EXPLAIN_MARKS)
494494

495495
def format_all(self, files, edit=1, headers=1):

0 commit comments

Comments
 (0)