Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: ensure_dependencies.py

Issue 29796555: Issue 6621 (Closed)
Patch Set: Created June 1, 2018, 1:58 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ensure_dependencies.py
diff --git a/ensure_dependencies.py b/ensure_dependencies.py
index 63db39758615da380e1fbd73dbd72754a7bcfe9d..e56311e4d9f3232e6a21221bc4045925dcd000db 100755
--- a/ensure_dependencies.py
+++ b/ensure_dependencies.py
@@ -41,7 +41,7 @@ A dependencies file should look like this:
'''
SKIP_DEPENDENCY_UPDATES = os.environ.get(
- 'SKIP_DEPENDENCY_UPDATES', ''
+ 'SKIP_DEPENDENCY_UPDATES', '',
).lower() not in ('', '0', 'false')
NPM_LOCKFILE = '.npm_install_lock'
@@ -147,13 +147,13 @@ repo_types = OrderedDict((
# [vcs:]value
item_regexp = re.compile(
'^(?:(' + '|'.join(map(re.escape, repo_types.keys())) + '):)?'
- '(.+)$'
+ '(.+)$',
)
# [url@]rev
source_regexp = re.compile(
'^(?:(.*)@)?'
- '(.+)$'
+ '(.+)$',
)

Powered by Google App Engine
This is Rietveld