Fixed pylint: W0702

This commit is contained in:
Dimitris Zlatanidis 2015-06-23 02:02:22 +03:00
parent dfefa3b028
commit 07ed83e605

View file

@ -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)