mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 01:26:23 +01:00
Dedent main code for get_distributions
This commit is contained in:
parent
4d6a6aaf96
commit
3ae3c88a95
@ -5625,7 +5625,6 @@ def get_distributions(apiurl, discon=False):
|
|||||||
r.insert(1, '------------ -------')
|
r.insert(1, '------------ -------')
|
||||||
return r
|
return r
|
||||||
|
|
||||||
else:
|
|
||||||
f = http_GET(makeurl(apiurl, ['distributions']))
|
f = http_GET(makeurl(apiurl, ['distributions']))
|
||||||
root = ET.fromstring(b''.join(f))
|
root = ET.fromstring(b''.join(f))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user