diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-09-30 02:09:16 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-09-30 02:09:16 +0300 |
commit | 3d5a54a91dcc2013cf6949311c6efa12b19f3897 (patch) | |
tree | b27c003989d47154020c1e235e7f36ba659b61fc /servo/lib | |
parent | 15fbfd822f151705b790af2ded8145fca9357f10 (diff) | |
download | Servo-3d5a54a91dcc2013cf6949311c6efa12b19f3897.tar.gz Servo-3d5a54a91dcc2013cf6949311c6efa12b19f3897.tar.bz2 Servo-3d5a54a91dcc2013cf6949311c6efa12b19f3897.zip |
Cleanup
Diffstat (limited to 'servo/lib')
-rw-r--r-- | servo/lib/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/lib/utils.py b/servo/lib/utils.py index f2e0c21..6d1ee0b 100644 --- a/servo/lib/utils.py +++ b/servo/lib/utils.py @@ -3,6 +3,7 @@ import json import subprocess from django.db.models import Model +from django.core.cache import cache from django.http import HttpResponse from django.core.serializers.json import DjangoJSONEncoder @@ -52,7 +53,6 @@ def cache_getset(k, v): Shortcut for getting and setting cache v should be a callable """ - from django.core.cache import cache if cache.get(k): return cache.get(k) |