Skip to content
Browse files

Fix bug with RequestDataAggregator key list

  • Loading branch information...
1 parent a8d27c9 commit 216a03d23d872212f697359b2312fe8427d9670b @diazona committed Jul 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 modulo/actions/
2 modulo/actions/
@@ -367,7 +367,7 @@ def derive(cls, *args, **kwargs):
def handles(cls, req, params):
dct = cls.get_dict(req)
- if hasattr(cls, 'keys'):
+ if getattr(cls, 'keys', None) is not None:
return all(k in dct for k in cls.keys)
return bool(len(dct))

0 comments on commit 216a03d

Please sign in to comment.
Something went wrong with that request. Please try again.