path: root/src
diff options
authorHans Ulrich Niedermann <>2011-02-10 17:23:17 +0100
committerJesse Keating <>2011-02-09 20:36:47 -0700
commit0f0cddc23380aa947e980a6bfbcdfd3ecb9c0469 (patch)
treee5908b75af01107b7d172df46b88235e87acf23e /src
parent682b73e3feb68802a9f887e2c6dac7edbb9482f7 (diff)
Move some module imports to command runtime
Move module imports of the fedora_cert, koji, and pyfedpkg modules to the actual command runtime. This gets rid of the requirement to have them (and their respective imported modules) installed at build time for generating the man page.
Diffstat (limited to 'src')
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ b/src/
index 91a7b5d..594be84 100755
--- a/src/
+++ b/src/
@@ -11,13 +11,10 @@
# the full text of the license.
import argparse
-import pyfedpkg
-import fedora_cert
import os
import sys
import getpass
import logging
-import koji
import xmlrpclib
import time
import random
@@ -1450,7 +1447,12 @@ if __name__ == '__main__':
# to stderr. Normal operation will show anything INFO and above.
# Quiet hides INFO, while Verbose exposes DEBUG. In all cases WARN or
# higher are exposed (via stderr).
+ import fedora_cert
+ import koji
+ import pyfedpkg
log = pyfedpkg.log
if args.v:
elif args.q: