1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

flake8 fix

This commit is contained in:
Chris Meyers 2017-07-05 13:37:32 -04:00
parent e226b0ab37
commit 0d3fc3389d

View File

@ -6,6 +6,7 @@ from contextlib import contextmanager
from django_pglocks import advisory_lock as django_pglocks_advisory_lock
from django.db import connection
@contextmanager
def advisory_lock(*args, **kwargs):
if connection.vendor == 'postgresql':