dbapi.py
branchstable
changeset 3832 ce8dd861f442
parent 3707 78596919ede3
child 3833 5507aa75f601
equal deleted inserted replaced
3831:5eb369d24e7d 3832:ce8dd861f442
   495         DBAPIRequest.data = {}
   495         DBAPIRequest.data = {}
   496         fake = lambda *args, **kwargs: None
   496         fake = lambda *args, **kwargs: None
   497         DBAPIRequest.relative_path = fake
   497         DBAPIRequest.relative_path = fake
   498         DBAPIRequest.url = fake
   498         DBAPIRequest.url = fake
   499         DBAPIRequest.next_tabindex = fake
   499         DBAPIRequest.next_tabindex = fake
       
   500         DBAPIRequest.get_page_data = fake
   500         DBAPIRequest.add_js = fake #cwrb.add_js.im_func
   501         DBAPIRequest.add_js = fake #cwrb.add_js.im_func
   501         DBAPIRequest.add_css = fake #cwrb.add_css.im_func
   502         DBAPIRequest.add_css = fake #cwrb.add_css.im_func
   502         # XXX could ask the repo for it's base-url configuration
   503         # XXX could ask the repo for it's base-url configuration
   503         self.vreg.config.set_option('base-url', baseurl)
   504         self.vreg.config.set_option('base-url', baseurl)
   504         # XXX why is this needed? if really needed, could be fetched by a query
   505         # XXX why is this needed? if really needed, could be fetched by a query