Skip to content

Commit 7cbfb40

Browse files
Fix exception message in PDDL parse_action
1 parent 38cc9aa commit 7cbfb40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PDDL.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def parse_action(self, group):
123123
t = p.pop(0)
124124
if t == '-':
125125
if not untyped_parameters:
126-
raise Exception('Unexpected hyphen in predicates')
126+
raise Exception('Unexpected hyphen in ' + name + ' parameters')
127127
ptype = p.pop(0)
128128
while untyped_parameters:
129129
parameters.append([untyped_parameters.pop(0), ptype])

0 commit comments

Comments
 (0)