Silence relative import warnings
This commit is contained in:
parent
7f5b492198
commit
b15df5a0af
@ -1,3 +1,3 @@
|
|||||||
from .tagger import LoraxRHELTagger
|
from lorax_tito.tagger import LoraxRHELTagger
|
||||||
|
|
||||||
all = [LoraxRHELTagger]
|
all = [LoraxRHELTagger]
|
||||||
|
@ -33,21 +33,21 @@ import locale
|
|||||||
from subprocess import CalledProcessError
|
from subprocess import CalledProcessError
|
||||||
import selinux
|
import selinux
|
||||||
|
|
||||||
from .base import BaseLoraxClass, DataHolder
|
from pylorax.base import BaseLoraxClass, DataHolder
|
||||||
import output
|
import pylorax.output as output
|
||||||
|
|
||||||
import yum
|
import yum
|
||||||
import ltmpl
|
import pylorax.ltmpl as ltmpl
|
||||||
|
|
||||||
import imgutils
|
import pylorax.imgutils as imgutils
|
||||||
from sysutils import *
|
from pylorax.sysutils import *
|
||||||
from rpmUtils.arch import getBaseArch
|
from rpmUtils.arch import getBaseArch
|
||||||
|
|
||||||
from treebuilder import RuntimeBuilder, TreeBuilder
|
from pylorax.treebuilder import RuntimeBuilder, TreeBuilder
|
||||||
from buildstamp import BuildStamp
|
from pylorax.buildstamp import BuildStamp
|
||||||
from treeinfo import TreeInfo
|
from pylorax.treeinfo import TreeInfo
|
||||||
from discinfo import DiscInfo
|
from pylorax.discinfo import DiscInfo
|
||||||
from executils import runcmd, runcmd_output
|
from pylorax.executils import runcmd, runcmd_output
|
||||||
|
|
||||||
# get lorax version
|
# get lorax version
|
||||||
try:
|
try:
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
from abc import ABCMeta, abstractmethod
|
from abc import ABCMeta, abstractmethod
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import output
|
import pylorax.output as output
|
||||||
|
|
||||||
|
|
||||||
class BaseLoraxClass(object):
|
class BaseLoraxClass(object):
|
||||||
|
@ -28,9 +28,9 @@ from os.path import basename, isdir
|
|||||||
from subprocess import CalledProcessError
|
from subprocess import CalledProcessError
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
from sysutils import joinpaths, cpfile, mvfile, replace, remove
|
from pylorax.sysutils import joinpaths, cpfile, mvfile, replace, remove
|
||||||
from yumhelper import * # Lorax*Callback classes
|
from pylorax.yumhelper import * # Lorax*Callback classes
|
||||||
from base import DataHolder
|
from pylorax.base import DataHolder
|
||||||
from pylorax.executils import runcmd, runcmd_output
|
from pylorax.executils import runcmd, runcmd_output
|
||||||
from pylorax.imgutils import mkcpio
|
from pylorax.imgutils import mkcpio
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
|
|
||||||
import decorators
|
import pylorax.decorators as decorators
|
||||||
|
|
||||||
|
|
||||||
# output levels
|
# output levels
|
||||||
|
@ -23,11 +23,11 @@ logger = logging.getLogger("pylorax.treebuilder")
|
|||||||
import os, re
|
import os, re
|
||||||
from os.path import basename
|
from os.path import basename
|
||||||
|
|
||||||
from sysutils import joinpaths, remove
|
from pylorax.sysutils import joinpaths, remove
|
||||||
from shutil import copytree, copy2
|
from shutil import copytree, copy2
|
||||||
from base import DataHolder
|
from pylorax.base import DataHolder
|
||||||
from ltmpl import LoraxTemplateRunner
|
from pylorax.ltmpl import LoraxTemplateRunner
|
||||||
import imgutils
|
import pylorax.imgutils as imgutils
|
||||||
from pylorax.executils import runcmd, runcmd_output
|
from pylorax.executils import runcmd, runcmd_output
|
||||||
|
|
||||||
templatemap = {
|
templatemap = {
|
||||||
|
@ -23,7 +23,7 @@ import logging
|
|||||||
logger = logging.getLogger("pylorax.yumhelper")
|
logger = logging.getLogger("pylorax.yumhelper")
|
||||||
import re
|
import re
|
||||||
import yum, yum.callbacks, yum.rpmtrans
|
import yum, yum.callbacks, yum.rpmtrans
|
||||||
import output
|
import pylorax.output as output
|
||||||
|
|
||||||
__all__ = ['LoraxDownloadCallback', 'LoraxTransactionCallback',
|
__all__ = ['LoraxDownloadCallback', 'LoraxTransactionCallback',
|
||||||
'LoraxRpmCallback']
|
'LoraxRpmCallback']
|
||||||
|
Loading…
Reference in New Issue
Block a user