Home | Trees | Index | Help |
---|
Package linda :: Module dpkgver |
|
Parse and compare Debian version strings.
This module contains a class designed to sit in your Python code pretty naturally and represent a Debian version string. It implements various special methods to make dealing with them sweet.Classes | |
---|---|
DpkgVersion |
Debian version number. |
Exceptions | |
---|---|
BadEpochError |
|
BadInputError |
|
BadRevisionError |
|
BadUpstreamError |
|
VersionError |
Function Summary | |
---|---|
Implement the string comparison outlined by Debian policy. | |
Compare two strings in a deb version. | |
Return the comparison order of two characters. | |
Cut characters from str that are entirely in accept. |
Function Details |
---|
deb_cmp(x, y)Implement the string comparison outlined by Debian policy. |
deb_cmp_str(x, y)Compare two strings in a deb version. |
deb_order(str, idx)Return the comparison order of two characters. |
strcut(str, idx, accept)Cut characters from str that are entirely in accept. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Mar 1 18:48:38 2006 | http://epydoc.sf.net |