From cb6e02b5cbe9465944a487e05a036c552570ff81 Mon Sep 17 00:00:00 2001 From: Martin Moraga Date: Thu, 19 Oct 2023 12:35:50 +0200 Subject: [PATCH] fix small error in cimexport.py Signed-off-by: Martin Moraga --- cimpy/cimexport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cimpy/cimexport.py b/cimpy/cimexport.py index ce0802b7..faca28d1 100644 --- a/cimpy/cimexport.py +++ b/cimpy/cimexport.py @@ -202,7 +202,7 @@ def _sort_classes_to_profile(class_attributes_list, activeProfileList): if 'class' in possibleProfileList[klass['name']].keys(): possibleProfileList[klass['name']]['class'].sort() for klass_profile in possibleProfileList[klass['name']]['class']: - if Profile(klass_profile).name in activeProfileList: + if Profile(klass_profile) in activeProfileList: # active profile for class export found class_serializationProfile = Profile(klass_profile).name break