updated for pep8 conformity

This commit is contained in:
Jan Laukemann
2017-09-29 17:55:31 +02:00
parent dc14caeb2d
commit 3463dc0531

View File

@@ -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')