# HG changeset patch # User Adrien Di Mascio # Date 1248681114 -7200 # Node ID c745dfb2734e260b92cd7a209648906d02293882 # Parent 497e5807db41e3b88d0d360898f305277e32d7d0 [selectors] change specified_etype_implements: kwargs prevails on req.form diff -r 497e5807db41 -r c745dfb2734e selectors.py --- a/selectors.py Mon Jul 27 10:58:37 2009 +0200 +++ b/selectors.py Mon Jul 27 09:51:54 2009 +0200 @@ -616,10 +616,10 @@ @lltrace def __call__(self, cls, req, *args, **kwargs): try: - etype = req.form['etype'] + etype = kwargs['etype'] except KeyError: try: - etype = kwargs['etype'] + etype = req.form['etype'] except KeyError: return 0 else: