Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2328)

Unified Diff: appengine/findit/util_scripts/script_util.py

Issue 2557553002: [Culprit-Finder] Seperate gae related part in cache_decorator and gitile repository to gae_libs/ (Closed)
Patch Set: Fix nits. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/findit/util_scripts/script_util.py
diff --git a/appengine/findit/util_scripts/script_util.py b/appengine/findit/util_scripts/script_util.py
index f87229f50cd8d7373464e5980d10074a9828b05d..e487a40a53c2c17d31c3703cebbf4c570cc55779 100644
--- a/appengine/findit/util_scripts/script_util.py
+++ b/appengine/findit/util_scripts/script_util.py
@@ -44,7 +44,7 @@ SetUpSystemPaths()
# The lib is in predator/ root dir, and can be imported only when sys.path gets
# set up.
from lib.cache_decorator import Cached
-from local_cache import LocalCacher # pylint: disable=W
+from local_cache import LocalCache # pylint: disable=W
def SignalWorkerThreads(): # pragma: no cover
@@ -125,7 +125,7 @@ def RunTasks(tasks): # pragma: no cover
result_semaphore.acquire()
-@Cached(namespace='Command-output', cacher=LocalCacher())
+@Cached(namespace='Command-output', cache=LocalCache())
def GetCommandOutput(command): # pragma: no cover
"""Gets the output stream of executable command.
« no previous file with comments | « appengine/findit/util_scripts/local_cache.py ('k') | appengine/findit/util_scripts/test/local_cache_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698