Closed bmwiedemann closed 6 years ago
python3 deprecated and dropped the has_key method but luckily the 'in' operator works in python-2.7 too
@bmwiedemann thanks for this quick fix
If you encounter other places that need it: perl -i -pe 's/(\w+)\.has_key\(([^)]*)\)/$2 in $1/'
perl -i -pe 's/(\w+)\.has_key\(([^)]*)\)/$2 in $1/'
python3 deprecated and dropped the has_key method but luckily the 'in' operator works in python-2.7 too