From: Zhang Rong(Jon) Date: Tue, 22 Nov 2022 04:07:25 +0000 (+0800) Subject: Fix a string issue of the selector X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=9fbae704295a4114e289ae95e0e4b0613053d051;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)