From: Zhang Rong(Jon) Date: Tue, 22 Nov 2022 04:07:25 +0000 (+0800) Subject: Fix a string issue of the selector X-Git-Tag: 2.0.0-rc2~3 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;ds=inline;h=refs%2Fchanges%2F44%2F9744%2F2;hp=b2bda65ba534ae72433f914f70384666e369ea0a;p=pti%2Fo2.git Fix a string issue of the selector Signed-off-by: Zhang Rong(Jon) Change-Id: If4d241e4cb278adcf1df51351a080e12d07e6b00 --- diff --git a/o2common/views/route.py b/o2common/views/route.py index 868ff70..e740333 100644 --- a/o2common/views/route.py +++ b/o2common/views/route.py @@ -232,5 +232,5 @@ class o2_marshal_with(marshal_with): for s in selector_all: selector[s] = val return - default_selector = str(mask).split('()') + default_selector = str(mask).strip(' ()') self.__update_selector_value(selector, default_selector, val)