summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-03 16:25:34 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-03 16:25:38 +0200
commit120f5ee429eabc84a36434854fb0a194cc1312e1 (patch)
treee07305caed5dcc090f834daf7637a530f7810514
parent257e259a26031945243dcd08ba739614ddaf695b (diff)
downloadsamba-120f5ee429eabc84a36434854fb0a194cc1312e1.tar.gz
samba-120f5ee429eabc84a36434854fb0a194cc1312e1.tar.bz2
samba-120f5ee429eabc84a36434854fb0a194cc1312e1.zip
wafsamba: Some reformatting.
-rw-r--r--buildtools/wafsamba/samba_utils.py4
-rw-r--r--buildtools/wafsamba/wafsamba.py2
2 files changed, 1 insertions, 5 deletions
diff --git a/buildtools/wafsamba/samba_utils.py b/buildtools/wafsamba/samba_utils.py
index aa4fa20a43..d466cfaada 100644
--- a/buildtools/wafsamba/samba_utils.py
+++ b/buildtools/wafsamba/samba_utils.py
@@ -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))
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 76c1b3299d..3da1e1439a 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -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 *