diff --git a/stix2/properties.py b/stix2/properties.py index 060d9ca..a1bab6d 100644 --- a/stix2/properties.py +++ b/stix2/properties.py @@ -503,7 +503,7 @@ class ReferenceProperty(Property): if possible_prefix not in ref_invalid_types: required_prefix = possible_prefix 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)