SWDEV-393541: Closed ATT 5.6 features. Fixed python3 syntax for 5.6
Change-Id: Ia2b56b1c4c6e9ba37911746325683314aa464d7a
This commit is contained in:
committad av
Giovanni Baraldi
förälder
3170849fe1
incheckning
f656ef0784
+2
-2
@@ -18,7 +18,7 @@ import matplotlib.pyplot as plt
|
||||
from io import BytesIO
|
||||
|
||||
class FileBytesIO:
|
||||
def __init__(self, iobytes) -> None:
|
||||
def __init__(self, iobytes):
|
||||
self.iobytes = iobytes
|
||||
self.seek = 0
|
||||
|
||||
@@ -493,7 +493,7 @@ if __name__ == "__main__":
|
||||
|
||||
# Trace Parsing
|
||||
if args.trace_file is None:
|
||||
filenames = glob.glob(args.att_kernel.split('_kernel.txt')[0]+'*.att')
|
||||
filenames = glob.glob(args.att_kernel.split('_kernel.txt')[0]+'_*.att')
|
||||
assert(len(filenames) > 0)
|
||||
else:
|
||||
filenames = glob.glob(args.trace_file)
|
||||
|
||||
Referens i nytt ärende
Block a user