mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-31 10:26:39 +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))
|
exec("{0}.{1}()".format(self._init, repo))
|
||||||
sys.stdout.write(self.done)
|
sys.stdout.write(self.done)
|
||||||
elif repo in enabled:
|
elif repo in enabled:
|
||||||
try:
|
Initialization(False).custom(repo)
|
||||||
Initialization(False).custom(repo)
|
|
||||||
except:
|
|
||||||
sys.stdout.write(self.error)
|
|
||||||
print("")
|
|
||||||
sys.exit(0)
|
|
||||||
sys.stdout.write(self.done)
|
sys.stdout.write(self.done)
|
||||||
else:
|
else:
|
||||||
sys.stdout.write(self.error)
|
sys.stdout.write(self.error)
|
||||||
|
|
Loading…
Reference in a new issue