def _setup(self): self.command.detect('rpm') self.environment[otopicons.CoreEnv.MAIN_TRANSACTION].append( self.VersionLockTransaction(parent=self, )) if not self.environment[osetupcons.CoreEnv.OFFLINE_PACKAGER]: self._PM, self._MiniPM, self._MiniPMSinkBase = ( osetuputil.getPackageManager(self.logger)) self._enabled = True
def _setup(self): self.command.detect('rpm') self.environment[otopicons.CoreEnv.MAIN_TRANSACTION].append( self.VersionLockTransaction( parent=self, ) ) if not self.environment[ osetupcons.CoreEnv.OFFLINE_PACKAGER ]: self._PM, self._MiniPM, self._MiniPMSinkBase = ( osetuputil.getPackageManager(self.logger) ) self._enabled = True