[Python-modules-commits] [greekocr4gamera] 05/10: reapplied fix-help

Daniel Stender danstender-guest at moszumanska.debian.org
Sat Oct 17 18:10:40 UTC 2015


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

danstender-guest pushed a commit to branch master
in repository greekocr4gamera.

commit 63929d8771d2e8a9d2caaf350bc3a68e93b1aed4
Merge: 559635c 76eea97
Author: Daniel Stender <debian at danielstender.com>
Date:   Sat Oct 17 20:02:43 2015 +0200

    reapplied fix-help

 debian/.git-dpm                    |  4 ++--
 debian/patches/0001-fix-help.patch | 24 ++++++++++++++++++++++++
 debian/patches/series              |  1 +
 scripts/greekocr4gamera.py         |  1 +
 4 files changed, 28 insertions(+), 2 deletions(-)

diff --cc debian/.git-dpm
index e5da755,0000000..ebdd4a0
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,11 -1,0 +1,11 @@@
 +# see git-dpm(1) from git-dpm package
- d9c907896fd6f4b61aadb7188d79fe72e2a55fdb
- d9c907896fd6f4b61aadb7188d79fe72e2a55fdb
++76eea97046054090b0641427818c9f556bdb899a
++76eea97046054090b0641427818c9f556bdb899a
 +d9c907896fd6f4b61aadb7188d79fe72e2a55fdb
 +d9c907896fd6f4b61aadb7188d79fe72e2a55fdb
 +greekocr4gamera_1.0.1.orig.tar.gz
 +de9101e62ce3c7e5ef8b9632a7400b3513ef1c53
 +119371
 +debianTag="debian/%e%v"
 +patchedTag="patched/%e%v"
 +upstreamTag="upstream/%e%u"
diff --cc debian/patches/0001-fix-help.patch
index 0000000,0000000..b476b48
new file mode 100644
--- /dev/null
+++ b/debian/patches/0001-fix-help.patch
@@@ -1,0 -1,0 +1,24 @@@
++From 76eea97046054090b0641427818c9f556bdb899a Mon Sep 17 00:00:00 2001
++From: Daniel Stender <debian at danielstender.com>
++Date: Sat, 17 Oct 2015 20:02:28 +0200
++Subject: fix-help
++
++   add sys.exit() to break at help invocation
++   Bug: https://bugs.debian.org/722468
++   Forwarded: no
++---
++ scripts/greekocr4gamera.py | 1 +
++ 1 file changed, 1 insertion(+)
++
++diff --git a/scripts/greekocr4gamera.py b/scripts/greekocr4gamera.py
++index d7eac4e..469aab0 100755
++--- a/scripts/greekocr4gamera.py
+++++ b/scripts/greekocr4gamera.py
++@@ -59,6 +59,7 @@ while i < len(args):
++       options["trainingdata"] = args[i]
++    elif args[i] in ("--help", "-h"):
++       usage()
+++      sys.exit(0)
++    elif args[i] in ("--wholistic", "-w"):
++       options["mode"] = "wholistic"
++    elif args[i] in ("--separatistic", "-s"):
diff --cc debian/patches/series
index 0000000,0000000..216b7d1
new file mode 100644
--- /dev/null
+++ b/debian/patches/series
@@@ -1,0 -1,0 +1,1 @@@
++0001-fix-help.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/greekocr4gamera.git



More information about the Python-modules-commits mailing list