From f1ad5af01e8a4601a07eef20bdfea6b8a31c8045 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Thu, 25 Jan 2024 16:21:19 +0100 Subject: [PATCH] commented apparently unused function --- sf_daq_broker/broker_manager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sf_daq_broker/broker_manager.py b/sf_daq_broker/broker_manager.py index 8f84e41..dda5a40 100644 --- a/sf_daq_broker/broker_manager.py +++ b/sf_daq_broker/broker_manager.py @@ -687,9 +687,9 @@ class BrokerManager: -# not needed anymore, we replace bad characters with "_" -def check_for_allowed_user_tag_character(user_tag): - return set(user_tag) <= allowed_user_tag_characters +## not needed anymore, we replace bad characters with "_" +#def check_for_allowed_user_tag_character(user_tag): +# return set(user_tag) <= allowed_user_tag_characters def clean_user_tag(user_tag, replacement_character="_"): #return "".join(char for char in user_tag if char in allowed_user_tag_characters) # do not replace but remove bad characters. In this case resulting string may be empty