Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more operators to conditions #146

Merged
merged 1 commit into from
Dec 4, 2017
Merged

Conversation

dirk-thomas
Copy link
Member

@dirk-thomas dirk-thomas commented Dec 4, 2017

Based on the feedback in #138. While we might not want to recommend using these operators for comparing the ROS distro name (since they will "wrap" in the future) we will provide the operators. So the user can choose if / what they want to use it for.

Copy link
Contributor

@mikaelarguedas mikaelarguedas left a comment

Choose a reason for hiding this comment

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

lgtm,
Note that I didnt follow the full discussion about the addition of these operators and how they should perform. Though comparing string seems good to me (bash-like).

@dirk-thomas dirk-thomas merged commit a5b92d7 into master Dec 4, 2017
@dirk-thomas dirk-thomas deleted the rep149_more_operators branch December 4, 2017 21:24
@@ -619,6 +619,8 @@ Attributes
* All literals are also treated as strings.
* The resulting expression is evaluated as a Python interpreter would
evaluate it.
Please not that the comparison operators only do a *string* comparison and
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo: not should be note

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks. Fixed in 8bbfda1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants