#15543 closed (fixed)
SyntaxError in utils/http.py on Python 2.4
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | dev |
Severity: | Keywords: | blocker | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
od_python error: "PythonHandler django.core.handlers.modpython"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 287, in HandlerDispatch
log=debug)
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 464, in import_module
module = imp.load_module(mname, f, p, d)
File "/usr/lib/python2.4/site-packages/django/core/handlers/modpython.py", line 6, in ?
from django import http
File "/usr/lib/python2.4/site-packages/django/http/init.py", line 122, in ?
from django.utils.http import cookie_date
File "/usr/lib/python2.4/site-packages/django/utils/http.py", line 108
year += 2000 if year < 70 else 1900
SyntaxError: invalid syntax
Change History (4)
comment:1 by , 14 years ago
Keywords: | blocker added |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
In [15731]: