Skip to content

Commit cd9e7ea

Browse files
committed
Remove bug when parsing datalogger information
1 parent ad16fb0 commit cd9e7ea

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

polyxdr/parser.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -557,13 +557,13 @@ def xdr_parse_definition(self, x):
557557
if dlf[0] == 'subprocess':
558558
name = x[1]
559559
path = None
560-
param = ''
560+
dlparam = ''
561561
excludes = []
562562
for spf in dlf[1:]:
563563
if spf[0] == 'path':
564564
path = spf[1]
565565
elif spf[0] == 'param':
566-
param = spf[1]
566+
dlparam = spf[1]
567567
elif spf[0] == 'name':
568568
name = spf[1]
569569
elif spf[0] == 'exclude':
@@ -575,7 +575,7 @@ def xdr_parse_definition(self, x):
575575
else:
576576
print(spf)
577577
datalogger.append(XDRSubprocess(name, structure, path, \
578-
param, excludes, location, group))
578+
dlparam, excludes, location, group))
579579
if len(x) >= 4:
580580
num = x[3]
581581
self.cmdcnt += 1

0 commit comments

Comments
 (0)