mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-15 18:16:13 +01:00
- find_default_project: fixed indention, only "catch" urllib2.HTTPError
This commit is contained in:
parent
64f9dca08b
commit
c3d5516bf8
@ -6181,7 +6181,7 @@ def find_default_project(apiurl=None, package=None):
|
|||||||
# any fast query will do here.
|
# any fast query will do here.
|
||||||
show_package_meta(apiurl, prj, package)
|
show_package_meta(apiurl, prj, package)
|
||||||
return prj
|
return prj
|
||||||
except:
|
except urllib2.HTTPError:
|
||||||
pass
|
pass
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user