Optimized runner script

This commit is contained in:
Ruud
2012-02-12 17:59:44 +01:00
parent a42ff5e038
commit 4e2b511c06
8 changed files with 18 additions and 17 deletions
+1 -1
View File
@@ -174,7 +174,7 @@ class Plugin(object):
def getCache(self, cache_key, url = None, timeout = 300):
cache = Env.get('cache').get(cache_key)
if cache:
if not Env.setting('development'): log.debug('Getting cache %s' % cache_key)
if not Env.get('dev'): log.debug('Getting cache %s' % cache_key)
return cache
if url: