From e75613e3cde30740103f02274624c99849e1030f Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Fri, 15 Jul 2016 11:25:16 +0100 Subject: [PATCH] Resolve 'E501 line too long' linters error Change-Id: I9ed5c12dc110881fd990ff86bdf33fbd3b21e8a1 --- doc/source/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index d81afc7e..663fb3e9 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -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"