Table of Contents

Module: distro dogtail/distro.py

Handles differences between different distributions

Authors: Dave Malcolm <dmalcolm@redhat.com>, Zack Cerza <zcerza@redhat.com>

Functions   
__makeAptPackageDb
__makeRpmPackageDb
  __makeAptPackageDb 
__makeAptPackageDb ()

Manufacture a PackageDb for an APT system: Debian/Ubuntu/etc.

Exceptions   
"Package not found: %s" % packageName
  __makeRpmPackageDb 
__makeRpmPackageDb ()

Manufacture a PackageDb for an RPM system. We hide this inside a factory method so that we only import the RPM Python bindings if we're on a platform likely to have them

Exceptions   
"Package not found: %s" % packageName
Classes   

Debian

Class representing one of the Debian or Debian-derived distributions

Distro

Class representing a distribution.

PackageDb

Class to abstract the details of whatever software package database is in use (RPM, APT, etc)

RedHatOrFedora

Class representing one of Red Hat Linux, Fedora, Red Hat Enterprise Linux, or one of the rebuild-style derivatives

Suse

Class representing one of the SuSE or SuSE-derived distributions


Table of Contents

This document was automatically generated on Wed Oct 5 12:27:32 2005 by HappyDoc version 2.1