Home | Trees | Indices | Help |
|
---|
|
object --+ | Distro
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)
|
|||
Inherited from |
|
|||
Inherited from |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Apr 16 16:06:06 2014 | http://epydoc.sourceforge.net |