mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-22 21:16:16 +01:00
fix indent
This commit is contained in:
parent
8c275ea991
commit
99ce83352c
@ -5056,19 +5056,19 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
if list_requests:
|
if list_requests:
|
||||||
# try api side search as supported since OBS 2.2
|
# try api side search as supported since OBS 2.2
|
||||||
try:
|
try:
|
||||||
u = makeurl(apiurl, ['request'], ['view=collection&user=%s' % quote_plus(user)])
|
u = makeurl(apiurl, ['request'], ['view=collection&user=%s' % quote_plus(user)])
|
||||||
res = http_GET(u)
|
res = http_GET(u)
|
||||||
requests = []
|
requests = []
|
||||||
for root in res['request'].findall('request'):
|
for root in res['request'].findall('request'):
|
||||||
r = Request()
|
r = Request()
|
||||||
r.read(root)
|
r.read(root)
|
||||||
requests.append(r)
|
requests.append(r)
|
||||||
for r in requests:
|
for r in requests:
|
||||||
print r.list_view(), '\n'
|
print r.list_view(), '\n'
|
||||||
return
|
return
|
||||||
except:
|
except:
|
||||||
# skip it ... try again with old style below
|
# skip it ... try again with old style below
|
||||||
pass
|
pass
|
||||||
|
|
||||||
res = get_user_projpkgs(apiurl, user, role_filter, exclude_projects,
|
res = get_user_projpkgs(apiurl, user, role_filter, exclude_projects,
|
||||||
what.has_key('project'), what.has_key('package'),
|
what.has_key('project'), what.has_key('package'),
|
||||||
|
Loading…
Reference in New Issue
Block a user