Fixed formatting issue

This commit is contained in:
KCarretto 2018-02-21 05:02:35 -05:00 committed by GitHub
parent 6b38ef3c9f
commit 2d76aebb8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1108,8 +1108,8 @@ class ReferenceField(BaseField):
if self.document_type._meta.get('abstract') and \ if self.document_type._meta.get('abstract') and \
not isinstance(value, self.document_type): not isinstance(value, self.document_type):
self.error( self.error(
'%s is not an instance of abstract reference type %s' % (value, '%s is not an instance of abstract reference type %s' % (
self.document_type._class_name) value, self.document_type._class_name)
) )
def lookup_member(self, member_name): def lookup_member(self, member_name):