Bug 1273673 followup: bad logging syntax, r=dustin on a CLOSED TREE
authorSteve Fink <sfink@mozilla.com>
Thu, 19 May 2016 10:35:02 -0700
changeset 298173 00ad215248d56e47923c567d894cb9c94a62d470
parent 298172 a32fdbf877e09609cf4894cf6fa27711795839e2
child 298174 385e27c898e641f03d223e87367f2a58128e35d6
push id30273
push userkwierso@gmail.com
push dateFri, 20 May 2016 21:08:12 +0000
treeherdermozilla-central@c403ac05b8f4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1273673
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1273673 followup: bad logging syntax, r=dustin on a CLOSED TREE
taskcluster/taskgraph/kind/legacy.py
--- a/taskcluster/taskgraph/kind/legacy.py
+++ b/taskcluster/taskgraph/kind/legacy.py
@@ -185,22 +185,22 @@ class LegacyKind(base.Kind):
             # If the task defines file patterns and we have a set of changed
             # files to compare against, only run if a file pattern matches one
             # of the changed files.
             file_patterns = when.get('file_patterns', None)
             if file_patterns and changed_files:
                 for pattern in file_patterns:
                     for path in changed_files:
                         if mozpackmatch(path, pattern):
-                            logger.debug('scheduling {task} because pattern {pattern} '
-                                'matches {path}', format({
-                                'task': task['task'],
-                                'pattern': pattern,
-                                'path': path,
-                            }))
+                            logger.debug('scheduling {task} because pattern {pattern} '+
+                                         'matches {path}'.format(
+                                             task=task['task'],
+                                             pattern=pattern,
+                                             path=path,
+                            ))
                             return True
 
                 # No file patterns matched. Discard task.
                 logger.debug('discarding {task} because no relevant files changed'.format(
                     task=task['task'],
                     pattern=pattern,
                     path=path))
                 return False