Fixes #389
parent
65d4060e6a
commit
9ce299b660
|
@ -503,7 +503,7 @@ class ReferenceProperty(Property):
|
||||||
if possible_prefix not in ref_invalid_types:
|
if possible_prefix not in ref_invalid_types:
|
||||||
required_prefix = possible_prefix
|
required_prefix = possible_prefix
|
||||||
else:
|
else:
|
||||||
raise ValueError("An invalid type-specifying prefix '%s' was specified for this property" % (possible_prefix, value))
|
raise ValueError("An invalid type-specifying prefix '%s' was specified for this property" % (possible_prefix))
|
||||||
|
|
||||||
_validate_id(value, self.spec_version, required_prefix)
|
_validate_id(value, self.spec_version, required_prefix)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue