mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Bugfix: last_changed would always print current time.
This commit is contained in:
parent
80c2a1674e
commit
c22eb01bfe
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ class FaqWizard:
|
||||||
mtime = mtime = entry.getmtime()
|
mtime = mtime = entry.getmtime()
|
||||||
if mtime > latest:
|
if mtime > latest:
|
||||||
latest = mtime
|
latest = mtime
|
||||||
print time.strftime(LAST_CHANGED, time.localtime(now))
|
print time.strftime(LAST_CHANGED, time.localtime(latest))
|
||||||
emit(EXPLAIN_MARKS)
|
emit(EXPLAIN_MARKS)
|
||||||
|
|
||||||
def format_all(self, files, edit=1, headers=1):
|
def format_all(self, files, edit=1, headers=1):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue