Skip to content

Commit 4b84838

Browse files
Remove 'efficient copy' prints (#625)
Matching ros/geometry2#530
1 parent 9e9bfc5 commit 4b84838

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tf2_ros_py/tf2_ros/buffer_interface.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,14 +339,11 @@ def convert(a: TransformableObject, b_type: TransformableObjectType) -> Transfor
339339
#check if an efficient conversion function between the types exists
340340
try:
341341
f = c.get_convert((type(a), b_type))
342-
print("efficient copy")
343342
return f(a)
344343
except TypeException:
345344
if type(a) == b_type:
346-
print("deep copy")
347345
return deepcopy(a)
348346

349347
f_to = c.get_to_msg(type(a))
350348
f_from = c.get_from_msg(b_type)
351-
print("message copy")
352349
return f_from(f_to(a))

0 commit comments

Comments
 (0)