if ImageObj.SectionAlignment < 0x400:\r
self.Alignment = str (ImageObj.SectionAlignment)\r
elif ImageObj.SectionAlignment < 0x100000:\r
- self.Alignment = str (ImageObj.SectionAlignment / 0x400) + 'K'\r
+ self.Alignment = str (ImageObj.SectionAlignment // 0x400) + 'K'\r
else:\r
- self.Alignment = str (ImageObj.SectionAlignment / 0x100000) + 'M'\r
+ self.Alignment = str (ImageObj.SectionAlignment // 0x100000) + 'M'\r
\r
if not NoStrip:\r
FileBeforeStrip = os.path.join(self.OutputPath, ModuleName + '.reloc')\r
if ImageObj.SectionAlignment < 0x400:\r
self.Alignment = str (ImageObj.SectionAlignment)\r
elif ImageObj.SectionAlignment < 0x100000:\r
- self.Alignment = str (ImageObj.SectionAlignment / 0x400) + 'K'\r
+ self.Alignment = str (ImageObj.SectionAlignment // 0x400) + 'K'\r
else:\r
- self.Alignment = str (ImageObj.SectionAlignment / 0x100000) + 'M'\r
+ self.Alignment = str (ImageObj.SectionAlignment // 0x100000) + 'M'\r
\r
if not NoStrip:\r
FileBeforeStrip = os.path.join(self.OutputPath, ModuleName + '.reloc')\r