Package dogtail :: Module distro :: Class _RpmPackageDb
[hide private]
[frames] | no frames]

Class _RpmPackageDb

source code

object --+    
         |    
 PackageDb --+
             |
            _RpmPackageDb

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
getVersion(self, packageName)
Method to get the version of an installed package as a Version instance (or raise an exception if not found)
source code
 
getFiles(self, packageName)
Method to get a list of filenames owned by the package, or raise an exception if not found.
source code
 
getDependencies(self, packageName)
Method to get a list of unique package names that this package is dependent on, or raise an exception if the package is not found.
source code

Inherited from PackageDb: getMoFiles

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

getVersion(self, packageName)

source code 

Method to get the version of an installed package as a Version
 instance (or raise an exception if not found)

Note: does not know about distributions' internal revision numbers.

Overrides: PackageDb.getVersion
(inherited documentation)

getFiles(self, packageName)

source code 

Method to get a list of filenames owned by the package, or raise an
 exception if not found.

Overrides: PackageDb.getFiles
(inherited documentation)

getDependencies(self, packageName)

source code 

Method to get a list of unique package names that this package is dependent on, or raise an exception if the package is not found.

Overrides: PackageDb.getDependencies
(inherited documentation)