fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test update
[librarian.git]
/
librarian
/
dcparser.py
diff --git
a/librarian/dcparser.py
b/librarian/dcparser.py
index
26f2a0c
..
00b7cda
100644
(file)
--- a/
librarian/dcparser.py
+++ b/
librarian/dcparser.py
@@
-88,7
+88,7
@@
class Field(object):
return val
return [ self.validator(v) if v is not None else v for v in val ]
elif len(val) > 1:
return val
return [ self.validator(v) if v is not None else v for v in val ]
elif len(val) > 1:
- raise ValidationError("Mul
itply
values not allowed for field '%s'" % self.uri)
+ raise ValidationError("Mul
tiple
values not allowed for field '%s'" % self.uri)
elif len(val) == 0:
raise ValidationError("Field %s has no value to assign. Check your defaults." % self.uri)
else:
elif len(val) == 0:
raise ValidationError("Field %s has no value to assign. Check your defaults." % self.uri)
else: