move the declaration text into the customization system. Fixed bug in hooksystem.
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Sat, 13 Nov 2010 01:42:55 +0000 (01:42 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Sat, 13 Nov 2010 01:42:55 +0000 (01:42 +0000)
commit466f420bc74bd05f62dccfd8b292e65919087995
tree5d98644bc3b409fd21ce1e300096c73d60148bb6
parent57334bb78bdfa6607e08f7701a6ee95cb3d4af5e
move the declaration text into the customization system. Fixed bug in hooksystem.

The bug is that the getattr() calls should have had a default third argument
of None, so that if the lookup failed, None would be the result. Instead, we
got AttributeErrors when no such hook existed: not what I intended.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1066 6d9bc8c9-1ec2-4278-b937-99fde70a366f
conifer/integration/uwindsor.py
conifer/plumbing/hooksystem.py
conifer/syrup/integration.py
conifer/syrup/views/items.py
conifer/templates/item/item_metadata.xhtml