From 6faf450a35601ceb8bafeb9e4f2fdd1a7c0304f9 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Thu, 10 Feb 2011 16:39:03 +0100 Subject: 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. --- src/fedpkg.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/fedpkg.py') 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 -- cgit