diff options
Diffstat (limited to 'python/ovs/db/data.py')
| -rw-r--r-- | python/ovs/db/data.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/ovs/db/data.py b/python/ovs/db/data.py index 2d0193278..531d5338e 100644 --- a/python/ovs/db/data.py +++ b/python/ovs/db/data.py @@ -143,12 +143,12 @@ class Atom(object): length = len(s) if length < base.min_length: raise ConstraintViolation( - "\"%s\" length %d is less than minimum allowed length %d" + '"%s" length %d is less than minimum allowed length %d' % (s, length, base.min_length)) elif length > base.max_length: raise ConstraintViolation( - "\"%s\" length %d is greater than maximum allowed " - "length %d" % (s, length, base.max_length)) + '"%s" length %d is greater than maximum allowed ' + 'length %d' % (s, length, base.max_length)) def to_json(self): if self.type == ovs.db.types.UuidType: |
