fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix expected html output to contain secX anchors
[librarian.git]
/
librarian
/
dcparser.py
diff --git
a/librarian/dcparser.py
b/librarian/dcparser.py
index
f64317a
..
5a571ec
100644
(file)
--- a/
librarian/dcparser.py
+++ b/
librarian/dcparser.py
@@
-248,7
+248,7
@@
class WorkInfo(object):
if not field.multiple:
raise "OUCH!! for field %s" % name
if not field.multiple:
raise "OUCH!! for field %s" % name
- return value[0]
+ return value[0]
if value else None
except (KeyError, AttributeError):
return object.__getattribute__(self, name)
except (KeyError, AttributeError):
return object.__getattribute__(self, name)