Rearrange the imports to meet the style guide

This also includes `from __future__ import absolute_import`
in every file so that the imports are consistent in Python 2 and 3.
The Python 2 tests fail without this.
This commit is contained in:
mprahl
2020-01-06 11:19:47 -05:00
parent f1488967b2
commit af9505b0e1
95 changed files with 411 additions and 279 deletions

View File

@@ -1,16 +1,18 @@
# -*- coding: utf-8 -*-
# SPDX-License-Identifier: MIT
"""Auth system based on the client certificate and FAS account"""
from __future__ import absolute_import
import json
import ssl
import requests
from flask import g
from dogpile.cache import make_region
from flask import g
import requests
from module_build_service.common.errors import Unauthorized, Forbidden
from module_build_service import app, log, conf
from module_build_service.common.errors import Unauthorized, Forbidden
try:
import ldap3