F5: correct check in _transform_api_names API (#53269)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde
2019-03-04 20:32:34 +05:30
committed by GitHub
parent 2033b3d066
commit 7011257274

View File

@@ -690,7 +690,7 @@ class ModuleManager(object):
return result
def _transform_api_names(self, item):
if 'subPath' in item and ['subPath'] is None:
if 'subPath' in item and item['subPath'] is None:
return item['name']
result = transform_name(item['fullPath'])
return result