mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-27 12:12:22 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user