mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
Catch specific exception. Catch-all is calling for error
This commit is contained in:
parent
0ac1d32945
commit
4007800880
@ -2030,7 +2030,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:
|
||||
except TypeError:
|
||||
print('Project {0} does not exist'.format(project))
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user