[Python-modules-commits] [ocr4gamera] 01/08: unapply patches from git-dpm

Daniel Stender stender at moszumanska.debian.org
Sun Jul 16 21:06:04 UTC 2017


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

stender pushed a commit to branch debian/master
in repository ocr4gamera.

commit b01b1d85be7e6da28379b5293bc6fa4f2a96833c
Author: Daniel Stender <stender at debian.org>
Date:   Sun Jul 16 22:48:55 2017 +0200

    unapply patches from git-dpm
---
 doc/gendoc.py | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/doc/gendoc.py b/doc/gendoc.py
index 99030ce..6d9bd0b 100644
--- a/doc/gendoc.py
+++ b/doc/gendoc.py
@@ -1,20 +1,8 @@
 #!/usr/bin/env python
 
-import os
-import sys
-
 from gamera import gendoc
 
 if __name__ == '__main__':
-
-   import gamera.toolkits
-   gamera.toolkits.__path__[:0] = [os.path.join(
-      sys.path[0],
-      os.pardir,
-      'gamera',
-      'toolkits'
-   )]
-
    # Step 1:
    # Import all of the plugins to document.
    # Be careful not to load the core plugins, or they
@@ -24,7 +12,6 @@ if __name__ == '__main__':
    try:
       from gamera.toolkits.ocr.plugins import bbox_merging_mcmillan
    except ImportError:
-      raise
       print "WARNING:"
       print "This `ocr` toolkit must be installed before generating"
       print "the documentation.  For now, the system will skip generating"

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



More information about the Python-modules-commits mailing list