Skip to content

Commit

Permalink
Bugfix: last_changed would always print current time.
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed Jun 2, 1997
1 parent 80c2a16 commit c22eb01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/faqwiz/faqwiz.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def last_changed(self, files):
mtime = mtime = entry.getmtime()
if mtime > latest:
latest = mtime
print time.strftime(LAST_CHANGED, time.localtime(now))
print time.strftime(LAST_CHANGED, time.localtime(latest))
emit(EXPLAIN_MARKS)

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

0 comments on commit c22eb01

Please sign in to comment.