[elbe-devel] [PATCH v2 05/66] commands init: Fix Pylint
Olivier Dion
dion at linutronix.de
Fri Jun 5 19:06:29 CEST 2020
220:15: R1714: (consider-using-in)
Signed-off-by: Olivier Dion <dion at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
---
elbepack/commands/init.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elbepack/commands/init.py b/elbepack/commands/init.py
index a97d45df..45e90602 100644
--- a/elbepack/commands/init.py
+++ b/elbepack/commands/init.py
@@ -217,7 +217,7 @@ def run_command(argv):
for t in templates:
o = t.replace(".mako", "")
- if t == "Makefile.mako" or t == "libvirt.xml.mako":
+ if t in ("Makefile.mako", "libvirt.xml.mako"):
write_template(
os.path.join(
opt.directory, o), os.path.join(
--
2.27.0
More information about the elbe-devel
mailing list