Skip to content

Commit de9e1f9

Browse files
committed
kmir/kparse: avoid overloading clashing issues
1 parent d47b70b commit de9e1f9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

kmir/src/kmir/kparse.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919

2020
class KParse(KPrint):
21-
command: str
21+
parser: str
2222

2323
def __init__(
2424
self,
@@ -36,7 +36,7 @@ def __init__(
3636
extra_unparsing_modules=extra_unparsing_modules,
3737
patch_symbol_table=patch_symbol_table,
3838
)
39-
self.command = command
39+
self.parser = command
4040

4141
def parse_process(
4242
self,
@@ -49,7 +49,7 @@ def parse_process(
4949
ntf.flush()
5050

5151
return _kparse(
52-
command=self.command,
52+
command=self.parser,
5353
input_file=Path(ntf.name),
5454
definition_dir=self.definition_dir,
5555
sort=sort,

0 commit comments

Comments
 (0)