mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
This commit is contained in:
parent
955cc5a99e
commit
a55cef3cba
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ def get_database_privileges(cursor, user, db):
|
||||||
datacl = cursor.fetchone()[0]
|
datacl = cursor.fetchone()[0]
|
||||||
if datacl is None:
|
if datacl is None:
|
||||||
return set()
|
return set()
|
||||||
r = re.search('%s=(C?T?c?)/[a-z]+\,?' % user, datacl)
|
r = re.search('%s\\\\?\"?=(C?T?c?)/[^,]+\,?' % user, datacl)
|
||||||
if r is None:
|
if r is None:
|
||||||
return set()
|
return set()
|
||||||
o = set()
|
o = set()
|
||||||
|
|
Loading…
Reference in a new issue