summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-06-02 15:51:51 (GMT)
committerGuido van Rossum <guido@python.org>1997-06-02 15:51:51 (GMT)
commitc22eb01bfe37b21fa6d1bdf002c321e84a05ccbd (patch)
treeade363dadeab084c86df46e6fed56509f7b0461b
parent80c2a1674efdfd95e979172842237509b33a8378 (diff)
downloadcpython-c22eb01bfe37b21fa6d1bdf002c321e84a05ccbd.zip
cpython-c22eb01bfe37b21fa6d1bdf002c321e84a05ccbd.tar.gz
cpython-c22eb01bfe37b21fa6d1bdf002c321e84a05ccbd.tar.bz2
Bugfix: last_changed would always print current time.
-rw-r--r--Tools/faqwiz/faqwiz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/faqwiz/faqwiz.py b/Tools/faqwiz/faqwiz.py
index e721425..06e1ab5 100644
--- a/Tools/faqwiz/faqwiz.py
+++ b/Tools/faqwiz/faqwiz.py
@@ -489,7 +489,7 @@ class FaqWizard:
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):