[Pkg-mozext-commits] [adblock-plus] 66/87: Issue 3952 - Fix whitespaces for compliance with PEP-8

David Prévot taffit at moszumanska.debian.org
Sat Apr 30 17:59:09 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit 5b80882ab6f4c8853830a57afc830c2df919fda5
Author: Sebastian Noack <sebastian at adblockplus.org>
Date:   Mon Apr 18 19:21:30 2016 +0200

    Issue 3952 - Fix whitespaces for compliance with PEP-8
---
 generate_docs.py | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/generate_docs.py b/generate_docs.py
index 40cb3f2..a7ccde4 100755
--- a/generate_docs.py
+++ b/generate_docs.py
@@ -9,17 +9,17 @@ BASE_DIR = os.path.dirname(os.path.abspath(__file__))
 DEPENDENCY_SCRIPT = os.path.join(BASE_DIR, "ensure_dependencies.py")
 
 if __name__ == "__main__":
-  try:
-    subprocess.check_call([sys.executable, DEPENDENCY_SCRIPT, BASE_DIR])
-  except subprocess.CalledProcessError as e:
-    print >>sys.stderr, e
-    print >>sys.stderr, "Failed to ensure dependencies being up-to-date!"
+    try:
+        subprocess.check_call([sys.executable, DEPENDENCY_SCRIPT, BASE_DIR])
+    except subprocess.CalledProcessError as e:
+        print >>sys.stderr, e
+        print >>sys.stderr, "Failed to ensure dependencies being up-to-date!"
 
-  # We're faking an invocation of build.py here, because we would have to
-  # duplicate command line parsing otherwise. It would be nicer if buildtools
-  # would make it possible to invoke the docs command directly.
-  args = sys.argv
-  args[1:1] = ["-t", "gecko", "docs"]
+    # We're faking an invocation of build.py here, because we would have to
+    # duplicate command line parsing otherwise. It would be nicer if buildtools
+    # would make it possible to invoke the docs command directly.
+    args = sys.argv
+    args[1:1] = ["-t", "gecko", "docs"]
 
-  import buildtools.build
-  buildtools.build.processArgs(BASE_DIR, args)
+    import buildtools.build
+    buildtools.build.processArgs(BASE_DIR, args)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list