mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-08 22:18:43 +02:00
Catch specific exception. Catch-all is calling for error
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user