From b24bfcc7f38f02f2cba3b0ee9f6e9143ff20f9ec Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Thu, 3 May 2018 18:36:11 +0200 Subject: [PATCH] osm.py: fixed typo when checking client version Change-Id: I63e16fd846b6ccf708396338f3a827a1326603ad Signed-off-by: garciadeblas --- osmclient/scripts/osm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1