Hacking: enable extensions H106, H203 and H904
[H106] Don't put vim configuration in source files.
[H203] Use assertIs(Not)None to check for None.
[H904] Delay string interpolations at logging calls.
This change makes Patrole's hacking consistent with
Tempest's [0][1].
[0] https://review.openstack.org/#/c/408211/
[1] https://review.openstack.org/#/c/408066/
Change-Id: Ia56f66b4ab7e1eea6a8bfea05bf52865be13430c
diff --git a/patrole_tempest_plugin/rbac_policy_parser.py b/patrole_tempest_plugin/rbac_policy_parser.py
index d4e989b..1047d37 100644
--- a/patrole_tempest_plugin/rbac_policy_parser.py
+++ b/patrole_tempest_plugin/rbac_policy_parser.py
@@ -81,7 +81,7 @@
path = getattr(CONF.rbac, '%s_policy_file' % str(service), None)
if not path:
LOG.info("No config option found for %s,"
- " using default path" % str(service))
+ " using default path", str(service))
path = os.path.join('/etc', service, 'policy.json')
self.path = path
self.rules = policy.Rules.load(self._get_policy_data(service),