ros-infrastructure / catkin_pkg

Standalone Python library for the catkin build system.
https://github.com/ros/catkin
Other
47 stars 91 forks source link

Add a __repr__ for Dependency #269

Closed Rayman closed 4 years ago

Rayman commented 4 years ago

During debuging, I've made a simple __repr__ for Dependency. It helped me to visualize what was going on.

It prints dependencies like this:

Dependency(name='foo', version_lt='3.0.0', condition='$ROS_VERSION == 2')
dirk-thomas commented 4 years ago

Thanks for the improvement!