We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider the following check:
https://github.com/uber/clay/blob/master/clay/database.py#L18
This line should be written as:
if dbapi_name not in ('psycopg2', 'MySQLdb', 'sqlite3'):
not dbapi_name will evaluate to a boolean, which will never be present in the tuple.
not dbapi_name
The text was updated successfully, but these errors were encountered:
Fix #39
f0d1152
This fixes #39, since `not dbapi_name` will result in a boolean and then checked against an tuple.
Successfully merging a pull request may close this issue.
Consider the following check:
https://github.com/uber/clay/blob/master/clay/database.py#L18
This line should be written as:
not dbapi_name
will evaluate to a boolean, which will never be present in the tuple.The text was updated successfully, but these errors were encountered: