Index: recipe_engine/util.py |
diff --git a/recipe_engine/util.py b/recipe_engine/util.py |
index 7fe739ee862c6d66a3ebfd833dd5e05049ddae29..e7497073fab6b4d9dbfbe56da10fc497ef621d5a 100644 |
--- a/recipe_engine/util.py |
+++ b/recipe_engine/util.py |
@@ -128,14 +128,6 @@ def returns_placeholder(func): |
return inner |
-def scan_directory(path, predicate): |
- """Recursively scans a directory and yields paths that match predicate.""" |
- for root, _dirs, files in os.walk(path): |
- for file_name in (f for f in files if predicate(f)): |
- file_path = os.path.join(root, file_name) |
- yield file_path |
- |
- |
BUG_LINK = ( |
'https://code.google.com/p/chromium/issues/entry?%s' % urllib.urlencode({ |
'summary': 'Recipe engine bug: unexpected failure', |