Updated [4497] to use something closer to the English language in the comment.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
ba9649f966
commit
f41e2b7837
|
@ -51,7 +51,7 @@ class LazyDate(object):
|
||||||
|
|
||||||
def __getattr__(self, attr):
|
def __getattr__(self, attr):
|
||||||
if attr == 'delta':
|
if attr == 'delta':
|
||||||
# To fix ticket #3377. Note that normal access to LazyDate.delta
|
# To fix ticket #3377. Note that normal accesses to LazyDate.delta
|
||||||
# (after construction) will still work, because they don't go
|
# (after construction) will still work, because they don't go
|
||||||
# through __getattr__). This is mainly needed for unpickling.
|
# through __getattr__). This is mainly needed for unpickling.
|
||||||
raise AttributeError
|
raise AttributeError
|
||||||
|
|
Loading…
Reference in New Issue