Import yum, rpmUtils, and instroot. Add conf[] hash table.
This commit is contained in:
parent
8ed3d43ca0
commit
74e6855d10
@ -22,14 +22,21 @@
|
||||
|
||||
version = (0, 1)
|
||||
|
||||
__all__ = ['discinfo', 'treeinfo']
|
||||
__all__ = ['discinfo', 'treeinfo', 'instroot']
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import tempfile
|
||||
|
||||
import yum
|
||||
import rpmUtils
|
||||
|
||||
import discinfo
|
||||
import treeinfo
|
||||
import instroot
|
||||
|
||||
conf = {}
|
||||
conf['confdir'] = '/etc/lorax'
|
||||
|
||||
def show_version(prog):
|
||||
"""show_version(prog)
|
||||
|
Loading…
Reference in New Issue
Block a user