Package gbp :: Module command_wrappers :: Class DpkgSourceExtract

[hide private]
[frames] | no frames]

# Class DpkgSourceExtract

    object --+
             |
       Command --+
                 |
                DpkgSourceExtract

Wrap dpkg-source to extract a Debian source package into a certain directory, this needs

Instance Methods | [hide private]

__init__(self) x.__init__(...) initializes x; see help(type(x)) for signature |

__call__(self, dsc, output_dir) Run the command and convert all errors into CommandExecFailed. |

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

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self)
(Constructor)

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
  (inherited documentation)

### __call__(self, dsc, output_dir)
(Call operator)

Run the command and convert all errors into CommandExecFailed. Assumes that the lower levels printed an error message (the command itself and also via our logging api) - only useful if you only expect 0 as result.

Parameters:
  - `quiet` - don't log failed execution to stderr. Mostly useful during unit testing
Overrides: Command.__call__
  (inherited documentation)