repo.or.cz
/
gae.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
App Engine Python SDK version 1.7.4 (2)
[gae.git]
/
python
/
lib
/
django_1_4
/
tests
/
regressiontests
/
cache
/
closeable_cache.py
blob
83073850b7c0425bc896969dbd8748c84b565e58
1
from
django
.
core
.
cache
.
backends
.
locmem
import
LocMemCache
2
3
4
class
CloseHookMixin
(
object
):
5
closed
=
False
6
7
def
close
(
self
, **
kwargs
):
8
self
.
closed
=
True
9
10
class
CacheClass
(
CloseHookMixin
,
LocMemCache
):
11
pass