Import yum, rpmUtils, and instroot. Add conf[] hash table.

This commit is contained in:
David Cantrell 2008-10-04 18:44:28 -10:00
parent 8ed3d43ca0
commit 74e6855d10

View File

@ -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)