X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fscripts%2Fosm.py;fp=osmclient%2Fscripts%2Fosm.py;h=e3b284b006a2bc49d44e280c2311ccc352d47d67;hb=9426bae74a8c9c1fc617fdcc4e3468e0492f5eea;hp=c1a7f1889b1a3a31256a03d8069745832b0e9f92;hpb=520ac56d0abd44daa27fd0341632767cb18a1b3c;p=osm%2Fosmclient.git diff --git a/osmclient/scripts/osm.py b/osmclient/scripts/osm.py index c1a7f18..e3b284b 100755 --- a/osmclient/scripts/osm.py +++ b/osmclient/scripts/osm.py @@ -35,7 +35,7 @@ def check_client_version(obj, what, version='sol005'): :return: - :raises ClientError: if the specified version does not match the client version ''' - fullclassname = ctx.obj.__module__ + "." + ctx.obj.__class__.__name__ + fullclassname = obj.__module__ + "." + obj.__class__.__name__ 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)