fixup 4851 draft
authorMauro Doglio <mdoglio@mozilla.com>
Thu, 28 Jan 2016 12:02:51 +0000
changeset 6999 9ce24d736ece89d6a7228b43775c8073a9150c5b
parent 6998 488b244e8bf9f61ba4ee6f2f3ea31c308a78a94f
push id574
push usermdoglio@mozilla.com
push dateThu, 28 Jan 2016 12:03:00 +0000
fixup 4851
pylib/mozreview/mozreview/autoland/resources.py
--- a/pylib/mozreview/mozreview/autoland/resources.py
+++ b/pylib/mozreview/mozreview/autoland/resources.py
@@ -599,18 +599,17 @@ class ImportPullRequestTriggerResource(W
         # if we've seen an import for this pullrequest before, see if we have
         # an existing bugid we can reuse. Otherwise, Autoland will attempt to
         # extract one from the pullrequest title and if that fails, file a new
         # bug.
         bugid = None
         prs = ImportPullRequestRequest.objects.filter(
             github_user=github_user,
             github_repo=github_repo,
-            github_pullrequest=pullrequest
-        )
+            github_pullrequest=pullrequest)
         prs = prs.order_by('-pk')[0:1]
         if prs:
             bugid = prs[0].bugid
 
         pingback_url = import_pullrequest_update_resource.get_uri(request)
 
         logging.info('Submitting a request to Autoland for pull request'
                      '%s/%s/%s for bug %s with pingback_url %s'