Closed dirk-thomas closed 5 years ago
Redo of #252.
WIthout the patch the function parse_package_string works with:
parse_package_string
str
bytes
With the patch it also works with unicode in Python 2.
unicode
The first commit adds the test coverage for the new use case (hence failing). The second commit implements the new support.
This looks good to me. Also replaces ros-infrastructure/rosdistro#133. The unit test here is better, too. Thanks!
Redo of #252.
WIthout the patch the function
parse_package_string
works with:str
str
bytes
With the patch it also works with
unicode
in Python 2.The first commit adds the test coverage for the new use case (hence failing). The second commit implements the new support.