Do not use has_key.

svn path=/plone.app.discussion/trunk/; revision=40536
This commit is contained in:
Timo Stollenwerk 2010-10-06 14:12:30 +00:00
parent 43bd68a6df
commit 94584429fd

View File

@ -175,7 +175,7 @@ class BulkActionsView(BrowserView):
def __call__(self): def __call__(self):
if self.request.has_key('form.select.BulkAction'): if 'form.select.BulkAction' in self.request:
bulkaction = self.request.get('form.select.BulkAction') bulkaction = self.request.get('form.select.BulkAction')