class documentation
class DpkgCompareVersions(gbpc.Command):
Known subclasses: gbp.scripts.import_dscs.DscCompareVersions
Undocumented
Method | __call__ |
Compare two package versions. Return 0 if the versions are equal, -1 1 if version1 < version2, and 1 otherwise. |
Method | __init__ |
Undocumented |
Class Variable | dpkg |
Undocumented |
Instance Variable | run |
Undocumented |
Inherited from Command
:
Method | call |
Like __call__ but let the caller handle the return status. |
Instance Variable | args |
Undocumented |
Instance Variable | capture |
Undocumented |
Instance Variable | capture |
Undocumented |
Instance Variable | cmd |
Undocumented |
Instance Variable | cwd |
Undocumented |
Instance Variable | env |
Undocumented |
Instance Variable | err |
Undocumented |
Instance Variable | retcode |
Undocumented |
Instance Variable | shell |
Undocumented |
Instance Variable | stderr |
Undocumented |
Instance Variable | stdout |
Undocumented |
Static Method | _f |
Build error string template |
Method | __call |
Wraps subprocess.call so we can be verbose and fix Python's SIGPIPE handling |
Method | _format |
Log an error message |
Method | _log |
Log an error message |
Method | _reset |
Undocumented |
overrides
gbp.command_wrappers.Command.__call__
overridden in
gbp.scripts.import_dscs.DscCompareVersions
Compare two package versions. Return 0 if the versions are equal, -1 1 if version1 < version2, and 1 otherwise.
Raises | |
CommandExecFailed | if the version comparison fails |
overrides
gbp.command_wrappers.Command.__init__
overridden in
gbp.scripts.import_dscs.DscCompareVersions
Undocumented