]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Move new imports to inside main()
authorZack Cerza <zack@cerza.org>
Fri, 4 Oct 2013 13:44:09 +0000 (08:44 -0500)
committerZack Cerza <zack@cerza.org>
Fri, 4 Oct 2013 15:54:47 +0000 (10:54 -0500)
The monkey patch stuff was causing problems again.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/run.py

index f2857c5d7c1dcfde3eca81fd98815d730ddab65e..15f4de8de833696d4f74a6d2f1bac0d433e9a284 100644 (file)
@@ -6,9 +6,6 @@ import contextlib
 import sys
 from traceback import format_tb
 
-from . import report
-from .config import config as teuth_config
-
 
 def config_file(string):
     config = {}
@@ -157,6 +154,9 @@ def main():
     monkey.patch_all()
     import logging
 
+    from . import report
+    from .config import config as teuth_config
+
     ctx = parse_args()
     set_up_logging(ctx)
     log = logging.getLogger(__name__)