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

Unified Diff: tools/remove_html_imports.py

Issue 393993002: Properly namespace ignore_patterns in remove_html_imports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/remove_html_imports.py
diff --git a/tools/remove_html_imports.py b/tools/remove_html_imports.py
index 3296a36c2defcb0ecd37636f2f579e0819801ba2..49a87c46e1cd5b010903a389f39832d32b0fbc86 100644
--- a/tools/remove_html_imports.py
+++ b/tools/remove_html_imports.py
@@ -24,7 +24,7 @@ def main(argv):
source = argv[1]
target = argv[2]
shutil.rmtree(target)
- shutil.copytree(source, target, ignore=ignore_patterns('.svn'))
+ shutil.copytree(source, target, ignore=shutil.ignore_patterns('.svn'))
for root, subFolders, files in os.walk(target):
for path in files:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698