Ejemplo n.º 1
0
 def getDict(self, pkg):
     for offset, section in enumerate(self.fake_sections):
         tf = TagFile(StringIO(section))
         tf.advanceSection()
         return tf.copy()
Ejemplo n.º 2
0
 def getDict(self, pkg):
     for offset, section in enumerate(self.fake_sections):
         tf = TagFile(StringIO(section))
         tf.advanceSection()
         return tf.copy()
Ejemplo n.º 3
0
 def getSections(self, prog):
     for offset, section in enumerate(self.fake_sections):
         tf = TagFile(StringIO(section))
         tf.advanceSection()
         yield tf, offset
Ejemplo n.º 4
0
 def getSections(self, prog):
     for offset, section in enumerate(self.fake_sections):
         tf = TagFile(StringIO(section))
         tf.advanceSection()
         yield tf, offset