Resolve 'E501 line too long' linters error

Change-Id: I9ed5c12dc110881fd990ff86bdf33fbd3b21e8a1
This commit is contained in:
Jesse Pretorius 2016-07-15 11:25:16 +01:00
parent 7003129fdb
commit e75613e3cd

View File

@ -80,7 +80,8 @@ version = version_info.canonical_version_string()
# from git log.
# bug_tag: Tag for categorizing the bug. Must be set manually.
# These variables are passed to the logabug code via html_context.
giturl = 'http://git.openstack.org/cgit/openstack/' + target_name + '/tree/doc/source'
giturl = ("http://git.openstack.org/cgit/openstack/{0}"
"/tree/doc/source").format(target_name)
git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '"
gitsha = os.popen(git_cmd).read().strip('\n')
bug_title = "Documentation bug"