Skip to content

Commit

Permalink
fixup syntax error in python2 after 2to3 migration
Browse files Browse the repository at this point in the history
fixup for 7d74c2e

there is one use of `print(str, file=...)` after the transition.
  • Loading branch information
v4hn committed Dec 8, 2021
1 parent 2361bf3 commit 1f77e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pr2_computer_monitor/scripts/cpu_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

##\author Kevin Watts

from __future__ import with_statement
from __future__ import with_statement, print_function
import roslib
roslib.load_manifest('pr2_computer_monitor')

Expand Down

2 comments on commit 1f77e71

@130s
Copy link

@130s 130s commented on 1f77e71 Feb 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering, is this pushed to the devel branch directly w/o a PR for this change? Can't find any.

The same change solves ros-drivers/linux_peripheral_interfaces#20 (comment)

@v4hn
Copy link
Member Author

@v4hn v4hn commented on 1f77e71 Feb 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I pushed this as a direct fixup because it was an obvious oversight which broke our PR2 setup when I wanted to run an experiment.
Sorry for the lack of documentation.

Please sign in to comment.