# HG changeset patch # User Sylvain Thénault # Date 1265660530 -3600 # Node ID a17033cfc89227aa320e389fe12797982254e74a # Parent b329af3315b6aabbab89afdd376026d9d70c2d61 when no context specified, should return non-zero score as documented diff -r b329af3315b6 -r a17033cfc892 selectors.py --- a/selectors.py Mon Feb 08 21:21:50 2010 +0100 +++ b/selectors.py Mon Feb 08 21:22:10 2010 +0100 @@ -969,7 +969,7 @@ in a configurable place. """ if context is None: - return 0 + return 1 propval = req.property_value('%s.%s.context' % (cls.__registry__, cls.__regid__)) if not propval: