mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-29 10:26:12 +01:00
Fixed pylint: W0702
This commit is contained in:
parent
dfefa3b028
commit
07ed83e605
1 changed files with 1 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue