--- a/selectors.py Wed Apr 14 10:25:51 2010 +0200
+++ b/selectors.py Wed Apr 14 10:29:38 2010 +0200
@@ -1044,7 +1044,7 @@
May only be used on the web side, not on the data repository side.
"""
- if req.cnx is None:
+ if not req.cnx:
return 1
return 0