[elbe-devel] [PATCH 12/25] pylint - db: fix useless else statement
Manuel Traut
manut at linutronix.de
Wed Aug 29 21:02:42 CEST 2018
Signed-off-by: Manuel Traut <manut at linutronix.de>
---
elbepack/db.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/elbepack/db.py b/elbepack/db.py
index bf1dba3f..7ce615d5 100644
--- a/elbepack/db.py
+++ b/elbepack/db.py
@@ -553,8 +553,8 @@ class ElbeDB(object):
if p.owner_id is None:
return None
- else:
- return int(p.owner_id)
+
+ return int(p.owner_id)
def set_project_version(self, builddir, new_version=None):
if new_version == "":
--
2.18.0
More information about the elbe-devel
mailing list