]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
buildpackages: pep8 compliance
authorLoic Dachary <ldachary@redhat.com>
Tue, 15 Sep 2015 14:16:34 +0000 (16:16 +0200)
committerLoic Dachary <ldachary@redhat.com>
Sat, 26 Sep 2015 12:09:21 +0000 (14:09 +0200)
http://tracker.ceph.com/issues/13031 Fixes: #13031

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit d40d8ff50186a552cbc6be8649c660b1534835db)

tasks/buildpackages.py

index bb230d92df984846cecdc49da8969562603355ce..179948797b5e0cfe3fbfe3d20a78413fcf30c65e 100644 (file)
@@ -12,6 +12,7 @@ import urlparse
 
 log = logging.getLogger(__name__)
 
+
 @contextlib.contextmanager
 def task(ctx, config):
     """
@@ -49,7 +50,8 @@ def task(ctx, config):
         uri_reference = gitbuilder.uri_reference
         url = gitbuilder.base_url
         assert '/' + uri_reference in url, \
-            url + ' (from template ' + config.baseurl_template + ') does not contain /' + uri_reference
+            (url + ' (from template ' + config.baseurl_template +
+             ') does not contain /' + uri_reference)
         if 'ref/' in uri_reference:
             ref = os.path.basename(uri_reference)
         else:
@@ -63,7 +65,7 @@ def task(ctx, config):
             " CEPH_OS_VERSION=" + gitbuilder.os_version +
             " CEPH_DIST=" + gitbuilder.distro +
             " CEPH_ARCH=" + gitbuilder.arch +
-            " CEPH_SHA1=" + (sha1 or '')  +
+            " CEPH_SHA1=" + (sha1 or '') +
             " CEPH_TAG=" + (tag or '') +
             " CEPH_BRANCH=" + (branch or '') +
             " CEPH_REF=" + ref +