fdutils/selenium_util/__init__.py
def based_on(self, url):
        """ temporary change of base url for a section of code """
        old_base = self.url
        self.url = url
        yield
        self.url = old_base
 temporary change of base url for a section of code 
temporary change of base url for a section of code
temporary change of base url for a section of code
def based_on(self, url):
        old_base = self.url
        self.url = url
        yield
        self.url = old_base
def based_on ( self , url ) : old_base = self . url self . url = url yield self . url = old_base
temporary change of base url for a section of code
temporary change of base url for a section of code
""" temporary change of base url for a section of code """
self
url