# `gbp.deb.control.Control(object)` class documentation

Part of `gbp.deb.control` (View In Hierarchy)

A Debian control

Method | __init__ | Parse an existing control file.
Instance Variable | filename | Undocumented
Method | __getitem__ | Undocumented
Method | __setitem__ | Undocumented
Method | name | The name of the package
Method | section | The section of the package
Method | priority | The priority of the package
Instance Variable | _control | Undocumented

def __init__(self, contents=None, filename="""debian/control"""):

Parse an existing control file.

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

_control =
Undocumented
filename =
Undocumented
def __getitem__(self, item):
Undocumented
def __setitem__(self, item, value):
Undocumented
@property
def name(self):

The name of the package

@property
def section(self):

The section of the package

@property
def priority(self):

The priority of the package