From 13452e069ecc6901b255584c3a674bd0c7932242 Mon Sep 17 00:00:00 2001 From: chenaidong1 Date: Fri, 25 Nov 2016 12:09:55 +0800 Subject: [PATCH] Fix syntax errors of exception print Change-Id: I628a225b1df7be8aeb23d35f490a7caf5de6daef --- murano/dsl/exceptions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/murano/dsl/exceptions.py b/murano/dsl/exceptions.py index 5bf24316f..8241b8c15 100644 --- a/murano/dsl/exceptions.py +++ b/murano/dsl/exceptions.py @@ -84,13 +84,13 @@ class MethodNotExposed(Exception): class AmbiguousMethodName(Exception): def __init__(self, name): super(AmbiguousMethodName, self).__init__( - 'Found more that one method "%s"' % name) + 'Found more than one method "%s"' % name) class AmbiguousClassName(Exception): def __init__(self, name): super(AmbiguousClassName, self).__init__( - 'Found more that one version of class "%s"' % name) + 'Found more than one version of class "%s"' % name) class DslContractSyntaxError(Exception): @@ -126,7 +126,7 @@ class PropertyAccessError(Exception): class AmbiguousPropertyNameError(PropertyAccessError): def __init__(self, name): super(AmbiguousPropertyNameError, self).__init__( - 'Found more that one property "%s"' % name) + 'Found more than one property "%s"' % name) class NoWriteAccess(PropertyAccessError):