Backed out changeset 1f38938f4e9b (bug 1316749) for flake8 lint error. r=backout

This commit is contained in:
Sebastian Hengst 2017-01-06 22:04:15 +01:00
Родитель 446545a6ee
Коммит 422e0d06d2
1 изменённых файлов: 2 добавлений и 10 удалений

Просмотреть файл

@ -19,16 +19,8 @@ from taskgraph.util.templates import Templates
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
GECKO = os.path.realpath(os.path.join(__file__, '..', '..', '..', '..')) GECKO = os.path.realpath(os.path.join(__file__, '..', '..', '..', '..'))
ARTIFACT_URL = 'https://queue.taskcluster.net/v1/task/{}/artifacts/{}'
# if running in a task, prefer to use the taskcluster proxy (http://taskcluster/), INDEX_URL = 'https://index.taskcluster.net/v1/task/{}'
# otherwise hit the services directly
if os.environ.get('TASK_ID'):
ARTIFACT_URL = 'http://taskcluster/queue/v1/task/{}/artifacts/{}'
INDEX_URL = 'http://taskcluster/index/v1/task/{}'
else:
ARTIFACT_URL = 'https://queue.taskcluster.net/v1/task/{}/artifacts/{}'
INDEX_URL = 'https://index.taskcluster.net/v1/task/{}'
class DockerImageTask(base.Task): class DockerImageTask(base.Task):