class documentation

class Control(object):

View In Hierarchy

A Debian control

Method __getitem__ Undocumented
Method __init__ Parse an existing control file.
Method __setitem__ Undocumented
Instance Variable filename Undocumented
Property name The name of the package
Property priority The priority of the package
Property section The section of the package
Instance Variable _control Undocumented
def __getitem__(self, item):

Undocumented

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

Parse an existing control file.

Parameters
contents:strcontent of a control file
filename:strname of the control file
Returns
gbp.deb.conrol.Control objectControl object
def __setitem__(self, item, value):

Undocumented

filename =

Undocumented

@property
name =

The name of the package

@property
priority =

The priority of the package

@property
section =

The section of the package

_control =

Undocumented