X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fcli_commands%2Futils.py;h=25fc21a7545c84bed18b9f93f76dd2882f57416d;hb=refs%2Fheads%2Fv15.0;hp=9ec03f61977ff54c6380c6a3d53ed5584b7e5dfd;hpb=23cc10b85ee953de2a1f5c6d84cffcc816a421d0;p=osm%2Fosmclient.git diff --git a/osmclient/cli_commands/utils.py b/osmclient/cli_commands/utils.py index 9ec03f6..25fc21a 100755 --- a/osmclient/cli_commands/utils.py +++ b/osmclient/cli_commands/utils.py @@ -48,6 +48,8 @@ def check_client_version(obj, what, version="sol005"): message = f"The following commands or options are only supported with the version v1 of OSM SOL005': {what}" elif version == "sol005_v2": message = f"The following commands or options are only supported with the version v2 of OSM SOL005': {what}" + else: + message = f"The following commands or options are only supported with the version {version} of OSM SOL005': {what}" fullclassname = obj.__module__ + "." + obj.__class__.__name__ if fullclassname != "osmclient.{}.client.Client".format(version): raise ClientException(message)