mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-03 01:56:17 +01:00
only catch http error, other exceptions are bugs
This commit is contained in:
parent
99ce83352c
commit
ba3bed8ecc
@ -5066,9 +5066,10 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
for r in requests:
|
for r in requests:
|
||||||
print r.list_view(), '\n'
|
print r.list_view(), '\n'
|
||||||
return
|
return
|
||||||
except:
|
except urllib2.HTTPError, e:
|
||||||
# skip it ... try again with old style below
|
if e.code == 400:
|
||||||
pass
|
# skip it ... try again with old style below
|
||||||
|
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