diff options
author | Filipp Lepalaan <f@230.to> | 2013-06-03 19:49:34 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-06-03 19:49:34 +0300 |
commit | 68fa03eff76f6ba40e0ba1de18a4bdec4c533a5f (patch) | |
tree | 95641c05efa9eb49b17a8a1bc60ea6489bc4fcc0 /gsxws/core.py | |
parent | 3e4295759d77dffd95af6a37becc1769183aeccb (diff) | |
download | py-gsxws-68fa03eff76f6ba40e0ba1de18a4bdec4c533a5f.tar.gz py-gsxws-68fa03eff76f6ba40e0ba1de18a4bdec4c533a5f.tar.bz2 py-gsxws-68fa03eff76f6ba40e0ba1de18a4bdec4c533a5f.zip |
Fixed Returns.update_parts()
Diffstat (limited to 'gsxws/core.py')
-rw-r--r-- | gsxws/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gsxws/core.py b/gsxws/core.py index f586606..b6b237a 100644 --- a/gsxws/core.py +++ b/gsxws/core.py @@ -155,8 +155,8 @@ class GsxCache(object): def __init__(self, key, expires=timedelta(minutes=20)): self.key = key self.expires = expires - self.shelf = shelve.open(self.filename, protocol=-1) self.now = datetime.now() + self.shelf = shelve.open(self.filename, protocol=-1) if not self.shelf.get(key): # Initialize the key |