summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-02-02 03:19:06 (GMT)
committerGuido van Rossum <guido@python.org>1998-02-02 03:19:06 (GMT)
commit48b1cdea455f6d041ce853cad59b48f779cf9f18 (patch)
tree8efcded386d0a0868aa2222301a331a446db186c /Tools
parentad37e9e77dfde3ae08bf0dc767e4c66451f3baeb (diff)
downloadcpython-48b1cdea455f6d041ce853cad59b48f779cf9f18.zip
cpython-48b1cdea455f6d041ce853cad59b48f779cf9f18.tar.gz
cpython-48b1cdea455f6d041ce853cad59b48f779cf9f18.tar.bz2
Fix typo in format for strftime() used by cookie code.
Diffstat (limited to 'Tools')
-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 6912cec..29712eb 100644
--- a/Tools/faqwiz/faqwiz.py
+++ b/Tools/faqwiz/faqwiz.py
@@ -151,7 +151,7 @@ def send_my_cookie(ui):
then = now + COOKIE_LIFETIME
gmt = time.gmtime(then)
print "Set-Cookie: %s=%s; path=/cgi-bin/;" % (name, value),
- print time.strftime("expires=%a, %d-%b-%x %X GMT", gmt)
+ print time.strftime("expires=%a, %d-%b-%y %X GMT", gmt)
class MagicDict: