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

Unified Diff: ensure_dependencies.py

Issue 29716699: Issue 6453 - Update buildtools dep. to c830dfa08e2f, add custom ID and updateURL (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/file/b6190ccd9928
Patch Set: Created March 7, 2018, 10:11 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
« no previous file with comments | « dependencies ('k') | metadata.gecko » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ensure_dependencies.py
diff --git a/ensure_dependencies.py b/ensure_dependencies.py
index 2e7013da39ee3d207f89cbc7b0a0c0117461bc17..63db39758615da380e1fbd73dbd72754a7bcfe9d 100755
--- a/ensure_dependencies.py
+++ b/ensure_dependencies.py
@@ -47,7 +47,7 @@ SKIP_DEPENDENCY_UPDATES = os.environ.get(
NPM_LOCKFILE = '.npm_install_lock'
-class Mercurial():
+class Mercurial:
def istype(self, repodir):
return os.path.exists(os.path.join(repodir, '.hg'))
@@ -94,7 +94,7 @@ class Mercurial():
return url
-class Git():
+class Git:
def istype(self, repodir):
return os.path.exists(os.path.join(repodir, '.git'))
« no previous file with comments | « dependencies ('k') | metadata.gecko » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld