This commit is contained in:
Miroslav Stampar
2017-05-29 10:57:27 +02:00
parent a0202f7bfd
commit dfe42612be
3 changed files with 5 additions and 4 deletions

View File

@@ -424,7 +424,8 @@ class Users:
# In Firebird we get one letter for each privilege
elif Backend.isDbms(DBMS.FIREBIRD):
privileges.add(FIREBIRD_PRIVS[privilege.strip()])
if privilege.strip() in FIREBIRD_PRIVS:
privileges.add(FIREBIRD_PRIVS[privilege.strip()])
# In DB2 we get Y or G if the privilege is
# True, N otherwise