BIND 10 trac1541, updated. 9c8dd4effe803bedeb2660c30f72a3ac4ecb308d [1541] a bit more style fixes: fold long lines, spacing

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Mar 14 20:48:07 UTC 2012


The branch, trac1541 has been updated
       via  9c8dd4effe803bedeb2660c30f72a3ac4ecb308d (commit)
      from  aa72029e21dc74db7eb7a354ef9f921227e53a6b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9c8dd4effe803bedeb2660c30f72a3ac4ecb308d
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Wed Mar 14 13:47:51 2012 -0700

    [1541] a bit more style fixes: fold long lines, spacing

-----------------------------------------------------------------------

Summary of changes:
 tools/git-obsolete-branch.py |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

-----------------------------------------------------------------------
diff --git a/tools/git-obsolete-branch.py b/tools/git-obsolete-branch.py
index be2ef24..70a7788 100755
--- a/tools/git-obsolete-branch.py
+++ b/tools/git-obsolete-branch.py
@@ -90,13 +90,15 @@ def branch_list_get(verbose):
             # let's get the last contributor with extra formatting
             # see man git-log and search for PRETTY FORMATS.
             # %ai = date, %ae = author e-mail, %an = author name
-            cmd = [ "git" , "log", "-n", "1", "--pretty=\"%ai,%ae,%an\"", branch_info.name ]
+            cmd = [ "git" , "log", "-n", "1", "--pretty=\"%ai,%ae,%an\"",
+                    branch_info.name ]
             offender = subprocess.check_output(cmd)
             offender = offender.strip(b"\n\"")
 
             # comment out this 2 lines to disable obfuscation
             offender = offender.replace(b"@", b"(at)")
-            # Obfuscating a dot does not work too well for folks that use initials
+            # Obfuscating a dot does not work too well for folks that use
+            # initials
             #offender = offender.replace(b".", b"(dot)")
 
             branch_info.last_commit = offender.decode("utf-8")
@@ -122,7 +124,7 @@ def branch_print(branches, csv, print_merged, print_notmerged, print_stats):
     merged_str = ""
     notmerged_str = ""
     for branch in branches:
-        if branch.status==Branch.MERGED:
+        if branch.status == Branch.MERGED:
             merged = merged + 1
             if not print_merged:
                 continue
@@ -152,7 +154,7 @@ def branch_print(branches, csv, print_merged, print_notmerged, print_stats):
         print("#Not merged: %d" % notmerged)
 
 
-def parse_args(args = sys.argv[1:], Parser=OptionParser):
+def parse_args(args=sys.argv[1:], Parser=OptionParser):
 
     parser = Parser(description="This script prints out merged and/or unmerged"
                     " branches of a GIT tree.")



More information about the bind10-changes mailing list