return ['source', 'version', 'install_date', 'maintainer', \
'changedby', 'poolfile', 'install_date']
+ def read_control(self):
+ '''
+ Reads the control information from a dsc
+
+ @rtype: tuple
+ @return: (stanza, controldict) stanza is the text of the control
+ section. controldict is the information in a dictionary
+ form
+ '''
+ from debian.debfile import Deb822
+ fullpath = self.poolfile.fullpath
+ fields = Deb822(open(self.poolfile.fullpath, 'r'))
+ return fields
+
+ metadata = association_proxy('key', 'value')
+
__all__.append('DBSource')
@session_wrapper