# Get a reference to the logger
self.log = self.builder.log
- # Setup the environment
- self._setup()
-
@property
def environ(self):
# Build a minimal environment for executing, but try to inherit TERM and LANG
return ret
def build(self, path, shell=True):
+ # Setup the environment
+ self._setup()
+
# Open the package archive
archive = _pakfire.Archive(self.pakfire, path)
raise e
def shell(self, packages=[], install=None):
+ # Setup the environment
+ self._setup()
+
archives = []
if not util.cli_is_interactive():