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]
|
||||
if datacl is None:
|
||||
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:
|
||||
return set()
|
||||
o = set()
|
||||
|
|
Loading…
Reference in a new issue