mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-29 03:06:15 +01:00
Remove superfluous StopIteration exception from the ar module
There is no need to raise a StopIteration exception.
This commit is contained in:
parent
470b187374
commit
2e45edbe16
@ -211,7 +211,6 @@ class Ar:
|
|||||||
if h.file == '/':
|
if h.file == '/':
|
||||||
continue
|
continue
|
||||||
yield self._get_file(h)
|
yield self._get_file(h)
|
||||||
raise StopIteration()
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user