summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-08-25 23:38:29 +0200
committerKarolin Seeger <kseeger@samba.org>2014-11-17 21:21:12 +0100
commit639274995bfb63d0628f1e4284ab4480e8085a76 (patch)
tree91b0f5588fd618a950eddd218c06ee9c32ae1ed8
parentcda88f3c3fb44f5bcecc7763918b3624f29e656b (diff)
downloadsamba-639274995bfb63d0628f1e4284ab4480e8085a76.tar.gz
wafsamba: remove unused variable from copy_and_fix_python_path
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit ca06fac2c87d4abe884d2b6e3c1022266b06e287)
-rw-r--r--buildtools/wafsamba/wafsamba.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 9ead2329fe..15d49b5c25 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -701,8 +701,6 @@ def copy_and_fix_python_path(task):
replacement="""sys.path.insert(0, "%s")
sys.path.insert(1, "%s")""" % (task.env["PYTHONARCHDIR"], task.env["PYTHONDIR"])
- shebang = None
-
if task.env["PYTHON"][0] == "/":
replacement_shebang = "#!%s\n" % task.env["PYTHON"]
else: