1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 18:26:15 +01:00

- find_default_project: fixed indention, only "catch" urllib2.HTTPError

This commit is contained in:
Marcus Huewe 2011-03-09 22:47:02 +01:00
parent 64f9dca08b
commit c3d5516bf8

View File

@ -6181,7 +6181,7 @@ def find_default_project(apiurl=None, package=None):
# any fast query will do here.
show_package_meta(apiurl, prj, package)
return prj
except:
except urllib2.HTTPError:
pass
return None