Skip to content

Commit

Permalink
test for Cryptodome instead of Crypto
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasw committed Jun 9, 2024
1 parent 84a6589 commit 065af82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utilities/roswtf/src/roswtf/roslaunchwtf.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ def roslaunch_duplicate_node_check(ctx):

def pycrypto_check(ctx):
try:
import Crypto
# TODO(lucasw) this used to be 'Crypto', but elsewhere only Cryptodome is used
import Cryptodome
except ImportError as e:
return True

Expand Down

0 comments on commit 065af82

Please sign in to comment.