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
|
||||
|
||||
for package in packages:
|
||||
ret = []
|
||||
|
||||
try:
|
||||
ret = scan_upstream(package)
|
||||
except AmbiguousPackageName as e:
|
||||
@ -218,8 +220,8 @@ def main():
|
||||
pp.die(1, "one of the above fully-qualified ebuild names instead.")
|
||||
except GentoolkitException as err:
|
||||
pp.die(1, str(err))
|
||||
finally:
|
||||
ret = []
|
||||
except Exception as err:
|
||||
pp.die(1, str(err))
|
||||
|
||||
print ()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user