コード例 #1
0
ファイル: debloader.py プロジェクト: pombreda/smart
 def getDict(self, pkg):
     for offset, section in enumerate(self.fake_sections):
         tf = TagFile(StringIO(section))
         tf.advanceSection()
         return tf.copy()
コード例 #2
0
 def getDict(self, pkg):
     for offset, section in enumerate(self.fake_sections):
         tf = TagFile(StringIO(section))
         tf.advanceSection()
         return tf.copy()
コード例 #3
0
ファイル: debloader.py プロジェクト: pombreda/smart
 def getSections(self, prog):
     for offset, section in enumerate(self.fake_sections):
         tf = TagFile(StringIO(section))
         tf.advanceSection()
         yield tf, offset
コード例 #4
0
 def getSections(self, prog):
     for offset, section in enumerate(self.fake_sections):
         tf = TagFile(StringIO(section))
         tf.advanceSection()
         yield tf, offset