aboutsummaryrefslogtreecommitdiffstats
path: root/servo/lib/utils.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-09-30 02:09:16 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-09-30 02:09:16 +0300
commit3d5a54a91dcc2013cf6949311c6efa12b19f3897 (patch)
treeb27c003989d47154020c1e235e7f36ba659b61fc /servo/lib/utils.py
parent15fbfd822f151705b790af2ded8145fca9357f10 (diff)
downloadServo-3d5a54a91dcc2013cf6949311c6efa12b19f3897.tar.gz
Servo-3d5a54a91dcc2013cf6949311c6efa12b19f3897.tar.bz2
Servo-3d5a54a91dcc2013cf6949311c6efa12b19f3897.zip
Cleanup
Diffstat (limited to 'servo/lib/utils.py')
-rw-r--r--servo/lib/utils.py2
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)