mirror of
https://github.com/ansible/awx.git
synced 2026-03-08 21:19:26 -02:30
flake8 fix
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user