Merge "Fix pep8 test"

This commit is contained in:
Jenkins 2014-10-09 21:49:51 +00:00 committed by Gerrit Code Review
commit 0a0fa0e044
2 changed files with 4 additions and 4 deletions

View File

@ -95,7 +95,8 @@ def get_service_url(service_type='baremetal', endpoint_type='internal'):
ksclient = _get_ksclient()
if not ksclient.has_service_catalog():
raise exception.KeystoneFailure(_('No keystone service catalog loaded'))
raise exception.KeystoneFailure(_('No Keystone service catalog '
'loaded'))
try:
endpoint = ksclient.service_catalog.url_for(service_type=service_type,

View File

@ -46,9 +46,8 @@ commands = {posargs}
[flake8]
# E711: ignored because it is normal to use "column == None" in sqlalchemy
ignore = E12,E711
select = E713
# TODO(yuriyz): Analyze or fix the warnings blacklisted below
ignore = E12,E111,E113,E131,E265,E711,F812,H305,H307,H405,H702,H904
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,*ironic/nova*
[hacking]