X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fscripts%2Fosm.py;fp=osmclient%2Fscripts%2Fosm.py;h=6560514d9ddfa43b3224f45dffbca8cbc6b14c8c;hb=faf33a5b4dc90bd7694bfb3ee2404f6f8a4ecc52;hp=16ac7d7bef86d1864d82e2440c7e7fa2dd088449;hpb=3fbf81c9deb88d05b23fb3631fb53bc09752e32d;p=osm%2Fosmclient.git diff --git a/osmclient/scripts/osm.py b/osmclient/scripts/osm.py index 16ac7d7..6560514 100755 --- a/osmclient/scripts/osm.py +++ b/osmclient/scripts/osm.py @@ -36,9 +36,9 @@ def check_client_version(obj, what, version='sol005'): :raises ClientError: if the specified version does not match the client version ''' fullclassname = obj.__module__ + "." + obj.__class__.__name__ - message = 'the following commands or options are only supported with the option "--sol005": {}'.format(what) + message = 'The following commands or options are only supported with the option "--sol005": {}'.format(what) if version == 'v1': - message = 'the following commands or options are not supported when using option "--sol005": {}'.format(what) + message = 'The following commands or options are not supported when using option "--sol005": {}'.format(what) if fullclassname != 'osmclient.{}.client.Client'.format(version): raise ClientException(message) return