From 07ed83e6059e007d8321b59e20644dae9e915669 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Tue, 23 Jun 2015 02:02:22 +0300 Subject: [PATCH] Fixed pylint: W0702 --- slpkg/init.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/slpkg/init.py b/slpkg/init.py index 4fab6f59..71a411d9 100644 --- a/slpkg/init.py +++ b/slpkg/init.py @@ -662,12 +662,7 @@ class Update(object): exec("{0}.{1}()".format(self._init, repo)) sys.stdout.write(self.done) elif repo in enabled: - try: - Initialization(False).custom(repo) - except: - sys.stdout.write(self.error) - print("") - sys.exit(0) + Initialization(False).custom(repo) sys.stdout.write(self.done) else: sys.stdout.write(self.error)