mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 18:06:13 +01:00
Merge branch 'master' of https://github.com/b1-systems/osc
This commit is contained in:
commit
3f6eaeaff9
@ -3688,6 +3688,9 @@ def get_project_sourceinfo(apiurl, project, nofilename, *packages):
|
||||
try:
|
||||
si = show_project_sourceinfo(apiurl, project, nofilename, *packages)
|
||||
except HTTPError, e:
|
||||
# old API servers do not know the 'nofilename' parameter, so retry without
|
||||
if e.code == 400 and nofilename:
|
||||
return get_project_sourceinfo(apiurl, project, False, *packages)
|
||||
if e.code != 414:
|
||||
raise
|
||||
if len(packages) == 1:
|
||||
|
Loading…
Reference in New Issue
Block a user