From 74e6855d10ef34c64c1c54b57d878d6357999896 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Sat, 4 Oct 2008 18:44:28 -1000 Subject: [PATCH] Import yum, rpmUtils, and instroot. Add conf[] hash table. --- pylorax/__init__.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pylorax/__init__.py b/pylorax/__init__.py index 5bb99a03..4c98c3b4 100644 --- a/pylorax/__init__.py +++ b/pylorax/__init__.py @@ -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)