mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
flake8 fix
This commit is contained in:
parent
e226b0ab37
commit
0d3fc3389d
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user