mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-05-01 06:00:57 +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,5 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# SPDX-License-Identifier: MIT
|
||||
from __future__ import absolute_import
|
||||
import os
|
||||
from os import path
|
||||
import shutil
|
||||
@@ -7,9 +8,9 @@ import tempfile
|
||||
|
||||
from module_build_service import log
|
||||
from module_build_service.common import models
|
||||
from module_build_service.scheduler.db_session import db_session
|
||||
from module_build_service.common.logger import ModuleBuildLogs
|
||||
from module_build_service.scheduler.consumer import MBSConsumer
|
||||
from module_build_service.scheduler.db_session import db_session
|
||||
from tests import init_data
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user