server/rqlannotation.py
branchstable
changeset 4721 8f63691ccb7f
parent 4719 aaed3f813ef8
child 5004 4cc020ee70e2
child 5421 8167de96c523
--- a/server/rqlannotation.py	Fri Feb 26 13:21:13 2010 +0100
+++ b/server/rqlannotation.py	Fri Feb 26 13:24:47 2010 +0100
@@ -130,7 +130,8 @@
 
 
 
-class CantSelectPrincipal(Exception): pass
+class CantSelectPrincipal(Exception):
+    """raised when no 'principal' variable can be found"""
 
 def _select_principal(sqlscope, relations, _sort=lambda x:x):
     """given a list of rqlst relations, select one which will be used to