Make flake8 happy

This commit is contained in:
Oleksii Shevchuk 2018-10-22 16:42:34 +03:00
parent 21038f1258
commit e33788b651
1 changed files with 3 additions and 3 deletions

View File

@ -571,9 +571,9 @@ class ACE_HEADER(Structure):
('AceSize', WORD)
]
ACCESS_ALLOWED_ACE_TYPE = 0
ACCESS_ALLOWED_ACE_TYPE = 0
ACCESS_DENIED_ACE_TYPE = 1
SYSTEM_AUDIT_ACE_TYPE = 2
SYSTEM_AUDIT_ACE_TYPE = 2
SYSTEM_ALARM_ACE_TYPE = 3
class ACCESS_ALLOWED_ACE(Structure):
@ -1397,7 +1397,7 @@ class Ace(object):
def __str__(self):
access = []
if self.ace_type == ACCESS_DENIED_ACE_TYPE:
if self.ace_type == ACCESS_DENIED_ACE_TYPE:
access.append('{DENY}')
elif self.ace_type == SYSTEM_AUDIT_ACE_TYPE:
access.append('{AUDIT}')