mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-22 18:22:12 +01:00
- small fix for commit d338254bb7ee260e2be96d2345547c59adfa83ad
catch HTTPError instead of TypeError
This commit is contained in:
parent
d338254bb7
commit
58532bbac7
@ -2031,7 +2031,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
try:
|
||||
show_project_meta(apiurl, project)
|
||||
print('No results for {0}'.format(project))
|
||||
except TypeError:
|
||||
except HTTPError:
|
||||
print('Project {0} does not exist'.format(project))
|
||||
else:
|
||||
print('No results')
|
||||
|
Loading…
x
Reference in New Issue
Block a user