mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-04 18:20:09 +01:00
updated for pep8 conformity
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/apps/python/3.5-anaconda/bin/python
|
||||
import sys, os, re
|
||||
import os, re
|
||||
import argparse
|
||||
from testcase import Testcase
|
||||
from param import Register, MemAddr, Parameter
|
||||
@@ -14,7 +14,6 @@ class Instr_extractor(object):
|
||||
db = {}
|
||||
sorted_db = []
|
||||
lncnt = 1
|
||||
fname = ''
|
||||
cntChar = ''
|
||||
first = True
|
||||
# Constant variables
|
||||
@@ -38,7 +37,6 @@ class Instr_extractor(object):
|
||||
|
||||
|
||||
def extract_instr(self, asmFile):
|
||||
fname = asmFile
|
||||
# Check if parameter is in the correct file format
|
||||
if(not self.is_elffile(asmFile)):
|
||||
print('Invalid argument')
|
||||
|
||||
Reference in New Issue
Block a user