euscan: fix a stupid bug
finally is always called, so the list was always empty. Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
parent
0ad1eecca7
commit
7f56dd4ac4
@ -203,6 +203,8 @@ def main():
|
|||||||
httplib.HTTPConnection.debuglevel = 1
|
httplib.HTTPConnection.debuglevel = 1
|
||||||
|
|
||||||
for package in packages:
|
for package in packages:
|
||||||
|
ret = []
|
||||||
|
|
||||||
try:
|
try:
|
||||||
ret = scan_upstream(package)
|
ret = scan_upstream(package)
|
||||||
except AmbiguousPackageName as e:
|
except AmbiguousPackageName as e:
|
||||||
@ -218,8 +220,8 @@ def main():
|
|||||||
pp.die(1, "one of the above fully-qualified ebuild names instead.")
|
pp.die(1, "one of the above fully-qualified ebuild names instead.")
|
||||||
except GentoolkitException as err:
|
except GentoolkitException as err:
|
||||||
pp.die(1, str(err))
|
pp.die(1, str(err))
|
||||||
finally:
|
except Exception as err:
|
||||||
ret = []
|
pp.die(1, str(err))
|
||||||
|
|
||||||
print ()
|
print ()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user