summaryrefslogtreecommitdiffstats
path: root/chrome/installer/linux
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2014-12-08 14:14:15 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-08 22:14:58 +0000
commitc93ba535daed2f55197fb0448d69ddc94ad80de5 (patch)
treee44db3a266fad54725ce4d5a26af639bf1e0f182 /chrome/installer/linux
parenteedaff9178e4fa2169c471ffaefd0bcb59288981 (diff)
downloadchromium_src-c93ba535daed2f55197fb0448d69ddc94ad80de5.zip
chromium_src-c93ba535daed2f55197fb0448d69ddc94ad80de5.tar.gz
chromium_src-c93ba535daed2f55197fb0448d69ddc94ad80de5.tar.bz2
Cleanup: Fix install-debian.wheezy.sysroot.py to pass pylint.
Review URL: https://codereview.chromium.org/784683002 Cr-Commit-Position: refs/heads/master@{#307352}
Diffstat (limited to 'chrome/installer/linux')
-rwxr-xr-xchrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py b/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py
index 91c168a..c9248f9 100755
--- a/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py
+++ b/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py
@@ -54,7 +54,7 @@ def get_sha1(filename):
return sha1.hexdigest()
-def main(args):
+def main():
if options.arch not in ['amd64', 'i386', 'arm']:
print 'Unknown architecture: %s' % options.arch
return 1
@@ -128,7 +128,7 @@ def main(args):
tarball_sha1sum = TARBALL_I386_SHA1SUM
revision = REVISION_I386
else:
- assert(false)
+ assert(False)
url = '%s/%s/%s/%s' % (URL_PREFIX, URL_PATH, revision, tarball_filename)
@@ -170,4 +170,4 @@ if __name__ == '__main__':
'Linux builds')
parser.add_option('--arch', help='Sysroot architecture: i386, amd64 or arm')
options, args = parser.parse_args()
- sys.exit(main(args))
+ sys.exit(main())