rqlrewrite.py
branchstable
changeset 3444 0ad4ef5d3737
parent 3443 34e451da9b5d
child 3689 deb13e88e037
equal deleted inserted replaced
3443:34e451da9b5d 3444:0ad4ef5d3737
   194                 self.current_expr = rqlexpr
   194                 self.current_expr = rqlexpr
   195                 if varexistsmap is None:
   195                 if varexistsmap is None:
   196                     try:
   196                     try:
   197                         new = self.insert_snippet(varmap, rqlexpr.snippet_rqlst, parent)
   197                         new = self.insert_snippet(varmap, rqlexpr.snippet_rqlst, parent)
   198                     except Unsupported:
   198                     except Unsupported:
   199                         import traceback
       
   200                         traceback.print_exc()
       
   201                         continue
   199                         continue
   202                     inserted = True
   200                     inserted = True
   203                     if new is not None:
   201                     if new is not None:
   204                         self.exists_snippet[rqlexpr] = new
   202                         self.exists_snippet[rqlexpr] = new
   205                     parent = parent or new
   203                     parent = parent or new