diff options
| author | Guido van Rossum <guido@python.org> | 1998-02-02 03:19:06 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1998-02-02 03:19:06 (GMT) |
| commit | 48b1cdea455f6d041ce853cad59b48f779cf9f18 (patch) | |
| tree | 8efcded386d0a0868aa2222301a331a446db186c /Tools/faqwiz | |
| parent | ad37e9e77dfde3ae08bf0dc767e4c66451f3baeb (diff) | |
| download | cpython-48b1cdea455f6d041ce853cad59b48f779cf9f18.zip cpython-48b1cdea455f6d041ce853cad59b48f779cf9f18.tar.gz cpython-48b1cdea455f6d041ce853cad59b48f779cf9f18.tar.bz2 | |
Fix typo in format for strftime() used by cookie code.
Diffstat (limited to 'Tools/faqwiz')
| -rw-r--r-- | Tools/faqwiz/faqwiz.py | 2 |
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: |
