summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-12-07 10:59:40 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-12-07 10:59:40 +0100
commitf4767780ad58f04789f733641ef68c30d0a0bdd2 (patch)
tree06d66aa7d368f2821fa7242a106c072b3e63f73e
parent08d2280994c16b024e2cc8d893f1f8e6f88f83bf (diff)
Don't use identity operator with a string literalHEADmaster
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
-rwxr-xr-xgen_makefile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_makefile.py b/gen_makefile.py
index 2e8a330..5853222 100755
--- a/gen_makefile.py
+++ b/gen_makefile.py
@@ -38,7 +38,7 @@ class makefile_generator():
def append_rule(self, target, dep='', cmds=[]):
print(target + ':', end='')
- if dep is not '':
+ if dep != '':
print(' ', end='')
print(dep)