[prep-commit] Products.ZSQLCatalog.SQLCatalog: Prefere using in instead of has_key
Showing
-
Remove
.keys()
, it's not needed either (dict
also implements__contains__
, and it saves a full dict key copy and list creation). Once done, can be pushed to master without waiting for the merge request.Also, please prefix your commits with the "big component" they apply to (Product name, Business Template name, Tool name...) and remove
[prep-commit]
.
Please register or sign in to comment