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

Unified Diff: webrtc/tools/barcode_tools/build_zxing.py

Issue 2737233003: Revert of PyLint fixes for tools-webrtc and webrtc/tools (Closed)
Patch Set: Created 3 years, 9 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 | « webrtc/tools/barcode_tools/barcode_encoder.py ('k') | webrtc/tools/barcode_tools/helper_functions.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/tools/barcode_tools/build_zxing.py
diff --git a/webrtc/tools/barcode_tools/build_zxing.py b/webrtc/tools/barcode_tools/build_zxing.py
index 92696a78c2c36fd123a9fc12531dc34c2ed0e9d6..466bd50fd9726e6bc1f2aae1eb6d25bc71c66acb 100755
--- a/webrtc/tools/barcode_tools/build_zxing.py
+++ b/webrtc/tools/barcode_tools/build_zxing.py
@@ -12,7 +12,7 @@
import sys
-def RunAntBuildCommand(path_to_ant_build_file):
+def run_ant_build_command(path_to_ant_build_file):
"""Tries to build the passed build file with ant."""
ant_executable = 'ant'
if sys.platform == 'win32':
@@ -32,13 +32,13 @@
e)
return -1
-def main():
+def _main():
core_build = os.path.join('third_party', 'zxing', 'core', 'build.xml')
- RunAntBuildCommand(core_build)
+ run_ant_build_command(core_build)
javase_build = os.path.join('third_party', 'zxing', 'javase', 'build.xml')
- return RunAntBuildCommand(javase_build)
+ return run_ant_build_command(javase_build)
if __name__ == '__main__':
- sys.exit(main())
+ sys.exit(_main())
« no previous file with comments | « webrtc/tools/barcode_tools/barcode_encoder.py ('k') | webrtc/tools/barcode_tools/helper_functions.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698