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

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

Issue 2644543006: [Culprit-Finder] Add generator cache decorator. (Closed)
Patch Set: Rebase and fix nits. Created 3 years, 11 months 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
« no previous file with comments | « appengine/findit/util_scripts/crash_queries/delta_test/delta_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 29ac095f966f3d7a8d4218837b67f4d766ca135f..1186ece6a43038cf29c95188bb93281937da47b2 100644
--- a/appengine/findit/util_scripts/script_util.py
+++ b/appengine/findit/util_scripts/script_util.py
@@ -125,7 +125,7 @@ def RunTasks(tasks): # pragma: no cover
result_semaphore.acquire()
-@Cached(namespace='Command-output', cache=LocalCache())
+@Cached(LocalCache(), namespace='Command-output')
def GetCommandOutput(command): # pragma: no cover
"""Gets the output stream of executable command.
« no previous file with comments | « appengine/findit/util_scripts/crash_queries/delta_test/delta_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698