diff options
| author | Ian Bicking <ianb@colorstudy.com> | 2008-02-18 21:45:07 +0000 |
|---|---|---|
| committer | Ian Bicking <ianb@colorstudy.com> | 2008-02-18 21:45:07 +0000 |
| commit | 73da8d05c8853936f73fafcba4e855a4614ee866 (patch) | |
| tree | ac83bfd19caaccd0dc90cef43aea1a3279dd3aa3 /webob/cachecontrol.py | |
| parent | d78d90eb2cb84be2c51835ddeeb06f627da8a18f (diff) | |
| download | webob-73da8d05c8853936f73fafcba4e855a4614ee866.tar.gz | |
Fix __del__ names to be __delete__ (noticed by Sergey Schetinin
Diffstat (limited to 'webob/cachecontrol.py')
| -rw-r--r-- | webob/cachecontrol.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webob/cachecontrol.py b/webob/cachecontrol.py index fc3a842..7a592b8 100644 --- a/webob/cachecontrol.py +++ b/webob/cachecontrol.py @@ -32,7 +32,7 @@ class exists_property(object): else: if self.prop in obj.properties: del obj.properties[self.prop] - def __del__(self, obj): + def __delete__(self, obj): self.__set__(obj, False) class value_property(object): @@ -69,7 +69,7 @@ class value_property(object): obj.properties[self.prop] = None # Empty value, but present else: obj.properties[self.prop] = value - def __del__(self, obj): + def __delete__(self, obj): if self.prop in obj.properties: del obj.properties[self.prop] |
