summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2022-05-05 21:32:13 +1200
committerAndreas Schneider <asn@cryptomilk.org>2022-05-10 05:19:34 +0000
commit455c083ec375a58a648021543ac51faca02bc0b6 (patch)
tree26cbaad2a3f0a9b3871a87607400b4cf8a7cf2cd /buildtools
parent139f00c3941f7dbbd646f878157e75aceeb445e0 (diff)
downloadsamba-455c083ec375a58a648021543ac51faca02bc0b6.tar.gz
python: Remove redundant assignments
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_deps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_deps.py b/buildtools/wafsamba/samba_deps.py
index c0a330b1b5e..66adf40307e 100644
--- a/buildtools/wafsamba/samba_deps.py
+++ b/buildtools/wafsamba/samba_deps.py
@@ -1181,7 +1181,7 @@ def generate_clangdb(bld):
lst = tg.tasks
for task in lst:
try:
- cmd = task.last_cmd
+ task.last_cmd
except AttributeError:
continue
if isinstance(task, task_classes):