From 611a9b954bb607b04ffcd150ae40e991a67e315f Mon Sep 17 00:00:00 2001 From: Dariusz Suchojad Date: Thu, 12 Sep 2024 12:08:49 +0200 Subject: [PATCH] GH #755 - Always use string objects. --- code/zato-cli/src/zato/cli/enmasse.py | 1 + 1 file changed, 1 insertion(+) diff --git a/code/zato-cli/src/zato/cli/enmasse.py b/code/zato-cli/src/zato/cli/enmasse.py index 0bae623036..794538ac08 100644 --- a/code/zato-cli/src/zato/cli/enmasse.py +++ b/code/zato-cli/src/zato/cli/enmasse.py @@ -106,6 +106,7 @@ class _NoValue: # ################################################################################################################################ def has_name_zato_prefix(name:'str') -> 'bool': + name = name or '' for prefix in zato_name_prefix: if name.startswith(prefix): return True