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

Class Distro

source code

object --+
         |
        Distro
Known Subclasses:


Class representing a distribution.

Scripts may want to do arbitrary logic based on whichever distro is in use
(e.g. handling differences in names of packages, distribution-specific
 patches, etc.)

We can either create methods in the Distro class to handle these, or we
 can use constructs like isinstance(distro, Ubuntu) to handle this. We can
even create hierarchies of distro subclasses to handle this kind of thing
(could get messy fast though)

Instance Methods [hide private]

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

Properties [hide private]

Inherited from object: __class__