Archive for the 'wtf' Category
Ok, I’m fed up. Here’s the first of a series of Pearls from the Plone Source. Call it The Plone WTF if you like. Here goes, a loop that does nothing. Notice the ‘locking_info’ adapter is fetched outside the for loop: for action in workflowActions: if action['category'] != ‘workflow’: continue locking_info = queryMultiAdapter((context, request), name=’plone_lock_info’) [...]
Filed under: plone, python, wtf | 3 Comments
Search
-
You are currently browsing the blog.sidneidasilva.com weblog archives for the wtf category.