Logo Search packages:      
Sourcecode: yum version File versions  Download package

def yum::YumBase::doTsSetup (   self  ) 

setup all the transaction set storage items we'll need
   This can't happen in __init__ b/c we don't know our installroot
   yet

Definition at line 165 of file __init__.py.

00165                        :
        """setup all the transaction set storage items we'll need
           This can't happen in __init__ b/c we don't know our installroot
           yet"""
        
        if hasattr(self, 'read_ts'):
            return
            
        if not self.conf.getConfigOption('installroot'):
            raise Errors.YumBaseError, 'Setting up TransactionSets before config class is up'
        
        installroot = self.conf.getConfigOption('installroot')
        self.read_ts = rpmUtils.transaction.initReadOnlyTransaction(root=installroot)
        self.tsInfo = transactioninfo.TransactionData()
        self.rpmdb = rpmUtils.RpmDBHolder()
        self.initActionTs()
        
    def doRpmDBSetup(self):


Generated by  Doxygen 1.6.0   Back to index