Bugfix: missing whitespace
This commit is contained in:
parent
095c0cc0da
commit
1043a559b8
@ -82,7 +82,7 @@ class Entry(object):
|
|||||||
else:
|
else:
|
||||||
return "Expected parameter '" + name + "' with unit '" + unit.to_string() + "' but got no unit."
|
return "Expected parameter '" + name + "' with unit '" + unit.to_string() + "' but got no unit."
|
||||||
if not attr.unit.is_equivalent(unit):
|
if not attr.unit.is_equivalent(unit):
|
||||||
return "Expected parameter '" + name + "' with unit equivalent to'" + unit.to_string() + \
|
return "Expected parameter '" + name + "' with unit equivalent to '" + unit.to_string() + \
|
||||||
"' but got unit '" + attr.unit.to_string() + "'."
|
"' but got unit '" + attr.unit.to_string() + "'."
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user