Merge "Raise non 404 Error in generate-tempest-plugin-list.py"
This commit is contained in:
commit
2df6114e44
@ -84,6 +84,8 @@ def has_tempest_plugin(proj):
|
||||
except HTTPError as err:
|
||||
if err.code == 404:
|
||||
return False
|
||||
# We should not ignore non 404 errors.
|
||||
raise err
|
||||
p = re.compile(r'^tempest\.test_plugins', re.M)
|
||||
if p.findall(r.read().decode('utf-8')):
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user