[kupu-checkins] r35842 - kupu/trunk/kupu/plone
duncan at codespeak.net
duncan at codespeak.net
Sun Dec 17 19:17:00 CET 2006
Author: duncan
Date: Sun Dec 17 19:16:56 2006
New Revision: 35842
Modified:
kupu/trunk/kupu/plone/librarytool.py
Log:
Bug spotted by George Lee
Modified: kupu/trunk/kupu/plone/librarytool.py
==============================================================================
--- kupu/trunk/kupu/plone/librarytool.py (original)
+++ kupu/trunk/kupu/plone/librarytool.py Sun Dec 17 19:16:56 2006
@@ -175,6 +175,7 @@
It updates all current resource types to include or exclude new types as
appropriate.
"""
+ typetool = getToolByName(self, 'portal_types')
alltypes = typetool.listTypeInfo()
lastknown = self._last_known_types
newtypes = dict.fromkeys([ t.id for t in alltypes if t.id not in lastknown])
More information about the kupu-checkins
mailing list