summaryrefslogtreecommitdiff
path: root/keystoneclient/hacking
diff options
context:
space:
mode:
authorBrant Knudson <bknudson@us.ibm.com>2015-01-06 09:44:31 -0600
committerBrant Knudson <bknudson@us.ibm.com>2015-01-31 08:03:37 -0600
commitd34cffa65fbc151af6dfd489d9d324547df1d1af (patch)
treebc08f706ad1936b25456f0b38caae09eec80a522 /keystoneclient/hacking
parent86ac254feebd4a000d8c922a527e83b0f3ca4c98 (diff)
downloadpython-keystoneclient-d34cffa65fbc151af6dfd489d9d324547df1d1af.tar.gz
Change oslo.config to oslo_config
The oslo.config libraries are moving away from oslo-namespaced packages. Note that his requires oslo.config>=1.6.0 bp drop-namespace-packages Change-Id: Ic0d4053875da0628f2359c109f2779d12aadc3eb
Diffstat (limited to 'keystoneclient/hacking')
-rw-r--r--keystoneclient/hacking/checks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/keystoneclient/hacking/checks.py b/keystoneclient/hacking/checks.py
index df2c960..4ba30b7 100644
--- a/keystoneclient/hacking/checks.py
+++ b/keystoneclient/hacking/checks.py
@@ -24,8 +24,8 @@ import re
def check_oslo_namespace_imports(logical_line, blank_before, filename):
oslo_namespace_imports = re.compile(
- r"(((from)|(import))\s+oslo\.((serialization)|(utils)))|"
- "(from\s+oslo\s+import\s+((serialization)|(utils)))")
+ r"(((from)|(import))\s+oslo\.((config)|(serialization)|(utils)))|"
+ "(from\s+oslo\s+import\s+((config)|(serialization)|(utils)))")
if re.match(oslo_namespace_imports, logical_line):
msg = ("K333: '%s' must be used instead of '%s'.") % (