summaryrefslogtreecommitdiff
path: root/nova/hacking
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2020-08-31 15:48:54 +0100
committerStephen Finucane <stephenfin@redhat.com>2020-08-31 15:51:29 +0100
commit31b2fd114c741b241a4f567d0962e82c5034d7e4 (patch)
treed563f085255509dcc23cba6b282c8d92b15e02a8 /nova/hacking
parentd4e6e9151c44e195d25438977fc91e66aa7f3950 (diff)
downloadnova-31b2fd114c741b241a4f567d0962e82c5034d7e4.tar.gz
hacking: Stop special casing 'plugins.xenserver'
This module was removed in I1b64ea1f5906b0c4dd1d5e311095cfe41e884ff7 and no longer needs to be worried about. Change-Id: I6cb74210934f71bb77ad775ea6671b4e2792f8c0 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'nova/hacking')
-rw-r--r--nova/hacking/checks.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/nova/hacking/checks.py b/nova/hacking/checks.py
index 7922881034..65a63f1eb5 100644
--- a/nova/hacking/checks.py
+++ b/nova/hacking/checks.py
@@ -362,12 +362,6 @@ def check_explicit_underscore_import(logical_line, filename):
@core.flake8ext
def use_jsonutils(logical_line, filename):
- # the code below that path is not meant to be executed from neutron
- # tree where jsonutils module is present, so don't enforce its usage
- # for this subdirectory
- if "plugins/xenserver" in filename:
- return
-
# tools are OK to use the standard json module
if "/tools/" in filename:
return