From e33788b651323d19d671658f1a8c2dd450e431fd Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Mon, 22 Oct 2018 16:42:34 +0300 Subject: [PATCH] Make flake8 happy --- pupy/packages/windows/all/pupwinutils/security.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pupy/packages/windows/all/pupwinutils/security.py b/pupy/packages/windows/all/pupwinutils/security.py index 673b42e6..2c5b4dcc 100644 --- a/pupy/packages/windows/all/pupwinutils/security.py +++ b/pupy/packages/windows/all/pupwinutils/security.py @@ -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}')