diff options
Diffstat (limited to 'test/sanity/code-smell/deprecated-config.py')
-rw-r--r-- | test/sanity/code-smell/deprecated-config.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/sanity/code-smell/deprecated-config.py b/test/sanity/code-smell/deprecated-config.py index 474628a35c..7056ca2746 100644 --- a/test/sanity/code-smell/deprecated-config.py +++ b/test/sanity/code-smell/deprecated-config.py @@ -55,8 +55,7 @@ def find_deprecations(obj, path=None): this_path.append(key) if key != 'deprecated': - for result in find_deprecations(value, path=this_path): - yield result + yield from find_deprecations(value, path=this_path) else: try: version = value['version'] |