Skip to content

Commit

Permalink
fix flake8: W503 line break before binary operator
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Mar 2, 2015
1 parent 7edf1e4 commit 86cfff5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytest_django/live_server_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def __init__(self, addr):
for conn in connections.all():
# If using in-memory sqlite databases, pass the connections to
# the server thread.
if (conn.settings_dict['ENGINE'] == 'django.db.backends.sqlite3'
and conn.settings_dict['NAME'] == ':memory:'):
if (conn.settings_dict['ENGINE'] == 'django.db.backends.sqlite3' and
conn.settings_dict['NAME'] == ':memory:'):
# Explicitly enable thread-shareability for this connection
conn.allow_thread_sharing = True
connections_override[conn.alias] = conn
Expand Down

0 comments on commit 86cfff5

Please sign in to comment.