Update #noqa for out 79 character
Currently has some use # noqa because out 79 - character limit, in order to conform the pep8 specification, I think we can make some changes Change-Id: Ia91ec8175521854e0b413441a2e05a23330aa8c3
This commit is contained in:
@@ -74,7 +74,8 @@ release = '0.1'
|
|||||||
# extracted from git log.
|
# extracted from git log.
|
||||||
# bug_tag: Tag for categorizing the bug. Must be set manually.
|
# bug_tag: Tag for categorizing the bug. Must be set manually.
|
||||||
# These variables are passed to the logabug code via html_context.
|
# These variables are passed to the logabug code via html_context.
|
||||||
giturl = u'http://git.openstack.org/cgit/openstack/trove/tree/install-guide/source' # noqa
|
giturl = (u'http://git.openstack.org/cgit/openstack/trove/tree/'
|
||||||
|
'install-guide/source')
|
||||||
git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '"
|
git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '"
|
||||||
gitsha = os.popen(git_cmd).read().strip('\n')
|
gitsha = os.popen(git_cmd).read().strip('\n')
|
||||||
html_context = {"gitsha": gitsha, "bug_tag": bug_tag,
|
html_context = {"gitsha": gitsha, "bug_tag": bug_tag,
|
||||||
|
|||||||
@@ -402,5 +402,6 @@ def persisted_models():
|
|||||||
return {
|
return {
|
||||||
'configurations': DBConfiguration,
|
'configurations': DBConfiguration,
|
||||||
'configuration_parameters': DBConfigurationParameter,
|
'configuration_parameters': DBConfigurationParameter,
|
||||||
'datastore_configuration_parameters': DBDatastoreConfigurationParameters, # noqa
|
'datastore_configuration_parameters':
|
||||||
|
DBDatastoreConfigurationParameters,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user