diff options
author | Andreas Jaeger <aj@suse.com> | 2020-04-30 16:23:24 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@suse.com> | 2020-04-30 16:33:43 +0200 |
commit | 7f770b95b88210879c0c44ebc1c6d1f589c6c0ea (patch) | |
tree | a0693360f96fa84eebb2cabc1f558dbc51956476 /heat/common | |
parent | 21ed14736e54164607a85a87f18a488aab214987 (diff) | |
download | heat-7f770b95b88210879c0c44ebc1c6d1f589c6c0ea.tar.gz |
Update pep8 rules
Remove E402 from flake8 list, issues are fixed or addressed with noqa.
Remove E305 as comment, the warning is enabled.
Enable E241 and fix all problems
Change-Id: Ifd2bbce98be4206908da769df686a370328c7ee1
Diffstat (limited to 'heat/common')
-rw-r--r-- | heat/common/policy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/heat/common/policy.py b/heat/common/policy.py index 86e26dd5c..38971e001 100644 --- a/heat/common/policy.py +++ b/heat/common/policy.py @@ -146,7 +146,7 @@ class ResourceEnforcer(Enforcer): result = super(ResourceEnforcer, self).enforce( context, res_type, scope=scope or 'resource_types', - target=target, is_registered_policy=is_registered_policy) + target=target, is_registered_policy=is_registered_policy) except policy.PolicyNotRegistered: result = True except self.exc as ex: |