ros / executive_smach

A procedural python-based task execution framework with ROS integration.
Other
173 stars 141 forks source link

fix SyntaxWarning 'is not' when checking for equality #97

Closed mikaelarguedas closed 1 month ago

mikaelarguedas commented 1 year ago

When building this package on ubuntu 20.04 the following warning gets reported by Python:

.../lib/python3/dist-packages/smach/state_machine.py:76: SyntaxWarning: "is not" with a literal. Did you mean "!="?