summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.py
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2011-02-10 16:39:03 +0100
committerJesse Keating <jkeating@redhat.com>2011-02-09 20:36:46 -0700
commit6faf450a35601ceb8bafeb9e4f2fdd1a7c0304f9 (patch)
treeb6814ef80d86f9241df525bfb8c770823705dfbe /src/fedpkg.py
parentb078a5862615dcb328f7441fb2bd006f824be0d1 (diff)
downloadfedora-packager-6faf450a35601ceb8bafeb9e4f2fdd1a7c0304f9.zip
fedora-packager-6faf450a35601ceb8bafeb9e4f2fdd1a7c0304f9.tar.gz
fedora-packager-6faf450a35601ceb8bafeb9e4f2fdd1a7c0304f9.tar.xz
Move location/name of man_page module
Move location/name of man_page module (out of the pyfedpkg module/namespace) in order to avoid importing pyfedpkg for man page generation.
Diffstat (limited to 'src/fedpkg.py')
-rwxr-xr-xsrc/fedpkg.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py
index 4275f5f..91a7b5d 100755
--- a/src/fedpkg.py
+++ b/src/fedpkg.py
@@ -1428,12 +1428,8 @@ defined, packages will be built sequentially.""")
return parser.parse_args()
else:
# Generate the man page
-
- # Use the "as man_page" part to avoid overwriting the pyfedpkg
- # namespace, which would break all usage of pyfedpkg.* outside
- # of this else branch.
- import pyfedpkg.man_page as man_page
- man_page.generate(parser, subparsers)
+ import fedpkg_man_page
+ fedpkg_man_page.generate(parser, subparsers)
sys.exit(0)
# no return possible