Don't do wildcard imports
This commit is contained in:
parent
24e0784256
commit
d823501686
@ -40,7 +40,7 @@ import yum
|
|||||||
import pylorax.ltmpl as ltmpl
|
import pylorax.ltmpl as ltmpl
|
||||||
|
|
||||||
import pylorax.imgutils as imgutils
|
import pylorax.imgutils as imgutils
|
||||||
from pylorax.sysutils import *
|
from pylorax.sysutils import joinpaths, linktree, remove
|
||||||
from rpmUtils.arch import getBaseArch
|
from rpmUtils.arch import getBaseArch
|
||||||
|
|
||||||
from pylorax.treebuilder import RuntimeBuilder, TreeBuilder
|
from pylorax.treebuilder import RuntimeBuilder, TreeBuilder
|
||||||
|
@ -29,7 +29,7 @@ from subprocess import CalledProcessError
|
|||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
from pylorax.sysutils import joinpaths, cpfile, mvfile, replace, remove
|
from pylorax.sysutils import joinpaths, cpfile, mvfile, replace, remove
|
||||||
from pylorax.yumhelper import * # Lorax*Callback classes
|
from pylorax import yumhelper
|
||||||
from pylorax.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
|
||||||
@ -514,9 +514,9 @@ class LoraxTemplateRunner(object):
|
|||||||
commands.
|
commands.
|
||||||
'''
|
'''
|
||||||
self.yum.buildTransaction()
|
self.yum.buildTransaction()
|
||||||
self.yum.repos.setProgressBar(LoraxDownloadCallback())
|
self.yum.repos.setProgressBar(yumhelper.LoraxDownloadCallback())
|
||||||
self.yum.processTransaction(callback=LoraxTransactionCallback(),
|
self.yum.processTransaction(callback=yumhelper.LoraxTransactionCallback(),
|
||||||
rpmDisplay=LoraxRpmCallback())
|
rpmDisplay=yumhelper.LoraxRpmCallback())
|
||||||
|
|
||||||
# verify if all packages that were supposed to be installed,
|
# verify if all packages that were supposed to be installed,
|
||||||
# are really installed
|
# are really installed
|
||||||
|
Loading…
Reference in New Issue
Block a user