server/msplanner.py
branchstable
changeset 2110 d7773fb1b892
parent 2109 f469368df530
child 2114 862f27d94af4
--- a/server/msplanner.py	Mon Jun 15 18:28:44 2009 +0200
+++ b/server/msplanner.py	Mon Jun 15 18:30:27 2009 +0200
@@ -1374,6 +1374,8 @@
         try:
             res = self.visit_default(node, newroot, terms)[0]
         except:
+            # when a relation isn't supported, we should dereference potentially
+            # introduced variable refs
             for vref in self._pending_vrefs:
                 vref.unregister_reference()
             raise