1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 18:06:13 +01:00

Dedent main code for get_distributions

This commit is contained in:
Anatoli Babenia 2022-07-29 23:04:58 +03:00
parent 4d6a6aaf96
commit 3ae3c88a95

View File

@ -5625,7 +5625,6 @@ def get_distributions(apiurl, discon=False):
r.insert(1, '------------ -------')
return r
else:
f = http_GET(makeurl(apiurl, ['distributions']))
root = ET.fromstring(b''.join(f))