ros2 / ros2cli

ROS 2 command line interface tools
Apache License 2.0
166 stars 158 forks source link

Conditionally use valid_signals. #880

Closed clalancette closed 5 months ago

clalancette commented 5 months ago

On Python 3.6 (in RHEL-8), signal.valid_signals() does not exist. Only use it if it exists.

This should fix #879 . Note that we only need this fix on Humble, since we don't have to worry about Python 3.6 on Iron and later.

clalancette commented 5 months ago

CI: