wafsamba: Some reformatting.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 3 Oct 2010 14:25:34 +0000 (16:25 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 3 Oct 2010 14:25:38 +0000 (16:25 +0200)
buildtools/wafsamba/samba_utils.py
buildtools/wafsamba/wafsamba.py

index aa4fa20a43962806e1850b9dd732dc549cfc2995..d466cfaadaf8952f121b5b0a658e8ed959eecc6b 100644 (file)
@@ -16,9 +16,7 @@ def SET_TARGET_TYPE(ctx, target, value):
     '''set the target type of a target'''
     cache = LOCAL_CACHE(ctx, 'TARGET_TYPE')
     if target in cache and cache[target] != 'EMPTY':
-        Logs.error("ERROR: Target '%s' in directory %s re-defined as %s - was %s" % (target,
-                                                                                     ctx.curdir,
-                                                                                     value, cache[target]))
+        Logs.error("ERROR: Target '%s' in directory %s re-defined as %s - was %s" % (target, ctx.curdir, value, cache[target]))
         sys.exit(1)
     LOCAL_CACHE_SET(ctx, 'TARGET_TYPE', target, value)
     debug("task_gen: Target '%s' created of type '%s' in %s" % (target, value, ctx.curdir))
index 76c1b3299d7d98a6ef216836c0beea3cf3465cf6..3da1e1439a65a652dc11998f5a6b3afd2486e227 100644 (file)
@@ -14,8 +14,6 @@ from samba_version import *
 from samba_autoconf import *
 from samba_patterns import *
 from samba_pidl import *
-from samba_errtable import *
-from samba_asn1 import *
 from samba_autoproto import *
 from samba_python import *
 from samba_deps import *