Module output :: Class YumCliRPMCallBack
[hide private]
[frames] | no frames]

Class YumCliRPMCallBack

source code


Yum specific callback class for RPM operations.

Instance Methods [hide private]
 
__init__(self, ayum=None) source code
 
pkgname_ui(self, pkgname, ts_states=('e', None))
Get more information on a simple pkgname, if we can.
source code
 
event(self, package, action, te_current, te_total, ts_current, ts_total) source code
 
scriptout(self, package, msgs)
package is the package.
source code
 
_makefmt(self, percent, ts_current, ts_total, progress=True, pkgname=None) source code

Inherited from yum.rpmtrans.RPMBaseCallback: errorlog, filelog

Properties [hide private]
  width
Method Details [hide private]

__init__(self, ayum=None)
(Constructor)

source code 
Overrides: yum.rpmtrans.RPMBaseCallback.__init__

event(self, package, action, te_current, te_total, ts_current, ts_total)

source code 
Parameters:
  • package - A yum package object or simple string of a package name
  • action - A yum.constant transaction set state or in the obscure rpm repackage case it could be the string 'repackaging'
  • te_current - Current number of bytes processed in the transaction element being processed
  • te_total - Total number of bytes in the transaction element being processed
  • ts_current - number of processes completed in whole transaction
  • ts_total - total number of processes in the transaction.
Overrides: yum.rpmtrans.RPMBaseCallback.event
(inherited documentation)

scriptout(self, package, msgs)

source code 

package is the package. msgs is the messages that were output (if any).

Overrides: yum.rpmtrans.RPMBaseCallback.scriptout
(inherited documentation)

Property Details [hide private]

width

Get Method:
unreachable(x)