예제 #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