Skip to content

Commit 6b7f55c

Browse files
committed
Typo in log leve.
1 parent 1f3c075 commit 6b7f55c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/prpy/planning/base.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@ def __call__(self, instance, robot, *args, **kw_args):
8484
# parent environment. It seems to be exacerbated by multirotation joints,
8585
# but the exact cause and repeatability is unclear at this point.)
8686
if not numpy.array_equal(joint_indices[0], joint_indices[1]):
87-
logger.warn("Cloned Active DOF index mismatch: %s != %s",
88-
str(joint_indices[0]),
89-
str(joint_indices[1]))
87+
logger.warning("Cloned Active DOF index mismatch: %s != %s",
88+
str(joint_indices[0]),
89+
str(joint_indices[1]))
9090
cloned_robot.SetActiveDOFs(joint_indices[0])
9191

9292
if not numpy.allclose(joint_values[0], joint_values[1]):
93-
logger.warn("Cloned Active DOF value mismatch: %s != %s",
94-
str(joint_values[0]),
95-
str(joint_values[1]))
93+
logger.warning("Cloned Active DOF value mismatch: %s != %s",
94+
str(joint_values[0]),
95+
str(joint_values[1]))
9696
cloned_robot.SetActiveDOFValues(joint_values[0])
9797

9898
def call_planner():

0 commit comments

Comments
 (0)