Skip to content

Commit

Permalink
Bug 1428045 - Add future imports to turn print statements into functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ghickman authored and edmorley committed Mar 21, 2018
1 parent 29314ad commit 37bd9fe
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lints/queuelint.py
@@ -1,5 +1,7 @@
#!/usr/bin/env python

from __future__ import print_function

import ast
import re
import sys
Expand Down
2 changes: 2 additions & 0 deletions tests/etl/test_perf_schema.py
@@ -1,3 +1,5 @@
from __future__ import print_function

import json

import jsonschema
Expand Down
2 changes: 2 additions & 0 deletions tests/log_parser/test_tasks.py
@@ -1,3 +1,5 @@
from __future__ import print_function

import pytest

from tests.test_utils import add_log_response
Expand Down
2 changes: 2 additions & 0 deletions tests/model/test_bugscache.py
@@ -1,3 +1,5 @@
from __future__ import print_function

import json
import os
from datetime import (datetime,
Expand Down
2 changes: 2 additions & 0 deletions tests/webapp/api/test_bugzilla.py
@@ -1,5 +1,7 @@
# coding: utf-8

from __future__ import print_function

import json

import responses
Expand Down
2 changes: 2 additions & 0 deletions tests/webapp/api/test_job_details_api.py
@@ -1,3 +1,5 @@
from __future__ import print_function

from django.core.urlresolvers import reverse

from tests.test_utils import create_generic_job
Expand Down
2 changes: 2 additions & 0 deletions treeherder/perf/management/commands/test_analyze_perf.py
@@ -1,3 +1,5 @@
from __future__ import print_function

from django.conf import settings
from django.core.management.base import (BaseCommand,
CommandError)
Expand Down

0 comments on commit 37bd9fe

Please sign in to comment.