Package gbp :: Package deb :: Module control :: Class Control

[hide private]
[frames] | no frames]

# Class Control

    object --+
             |
            Control

A Debian control

Instance Methods | [hide private]

`gbp.deb.conrol.Control` object

__init__(self, contents=None, filename=`'``debian/control``'`) Parse an existing control file. |

__getitem__(self, item) |

__setitem__(self, item, value) |

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

Properties | [hide private]

| name The packges name
| section The packges section
| priority The packges priority
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, contents=None, filename=`'``debian/control``'`)
(Constructor)

Parse an existing control file.

Parameters:
  - `contents` (`str`) - content of a control file
  - `filename` (`str`) - name of the control file
Returns: `gbp.deb.conrol.Control` object
  Control object
Overrides: object.__init__

Property Details | [hide private]

### name

The packges name

Get Method:
  unreachable.name(self) - The packges name

### section

The packges section

Get Method:
  unreachable.section(self) - The packges section

### priority

The packges priority

Get Method:
  unreachable.priority(self) - The packges priority