[misc] 01/01: Add long --remove option for -u

Chris Lamb chris at chris-lamb.co.uk
Mon Aug 29 19:22:54 UTC 2016


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

lamby pushed a commit to branch master
in repository misc.

commit 618d6f284419535a79c3030a18591a8ef2d2a48f
Author: Chris Lamb <lamby at debian.org>
Date:   Mon Aug 29 20:22:51 2016 +0100

    Add long --remove option for -u
---
 edit-notes | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/edit-notes b/edit-notes
index 5903eb8..1b19ed6 100755
--- a/edit-notes
+++ b/edit-notes
@@ -15,7 +15,7 @@ parser.add_argument('-v', '--take-version', action='store_true')
 parser.add_argument('-c', '--set-comment')
 parser.add_argument('-b', '--add-bug', type=int, action='append', default=[])
 parser.add_argument('-d', '--fix-deterministic', action='store_true')
-parser.add_argument('-u', dest='remove', action='store_true',
+parser.add_argument('-u', '--remove', dest='remove', action='store_true',
                     help='remove the whole note block')
 parser.add_argument('packages', nargs='*')
 args = parser.parse_args()
@@ -80,7 +80,9 @@ if __name__ == '__main__':
             data['comments'] = args.set_comment
 
     if args.remove:
+        print(1)
         for pkg in args.packages:
+            print(pkg)
             try:
                 notes.pop(pkg)
             except KeyError:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-commits mailing list