Skip to content

Commit 2a34cd4

Browse files
author
Rachel Holladay
committed
Updating error handling to more correct syntax
1 parent 18e1bb8 commit 2a34cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prpy/tsr/tsrlibrary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def __call__(self, kinbody, action_name, *args, **kw_args):
8888
f = None
8989
try:
9090
f = self.all_factories[self.robot_name][kinbody_name][action_name]
91-
except KeyError, ignored:
91+
except KeyError:
9292
pass
9393

9494
if f is None:

0 commit comments

Comments
 (0)