mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 06:46:13 +01:00
- improved a comment a bit
This commit is contained in:
parent
3f6eaeaff9
commit
0442cdf5f4
@ -3688,7 +3688,7 @@ 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
|
||||
# old API servers (e.g. 2.3.5) 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:
|
||||
|
Loading…
Reference in New Issue
Block a user