From 0344796d31f4cfdf5305b09b3e85d0aa162f3cfb Mon Sep 17 00:00:00 2001
From: Nico Schottelius <nico@brief.schottelius.org>
Date: Tue, 18 Oct 2011 20:36:35 +0200
Subject: [PATCH] restructure imports

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
---
 bin/cdist | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/cdist b/bin/cdist
index 78893b60..0705f5bd 100755
--- a/bin/cdist
+++ b/bin/cdist
@@ -101,6 +101,9 @@ def install(args):
 
 def configinstall(args, mode):
     """Configure or install remote system"""
+    import multiprocessing
+    import time
+
     try:
         process = {}
         failed_hosts = []
@@ -188,11 +191,9 @@ def emulator():
 if __name__ == "__main__":
     try:
         import logging
-        import multiprocessing
         import os
         import re
         import sys
-        import time
 
         log = logging.getLogger("cdist")