capybara/virtualenv/lib/python2.7/site-packages/pip/vcs/bazaar.py
def export(self, location):
        """
        Export the Bazaar repository at the url to the destination location
        """
        temp_dir = tempfile.mkdtemp('-export', 'pip-')
        self.unpack(temp_dir)
        if os.path.exists(location):
            # Remove the location to make sure Bazaar can export it correctly
            rmtree(location)
        try:
            self.run_command(['export', location], cwd=temp_dir,
                             show_stdout=False)
        finally:
            rmtree(temp_dir)
def export(self, location):
        temp_dir = tempfile.mkdtemp('-export', 'pip-')
        self.unpack(temp_dir)
        if os.path.exists(location):
            # Remove the location to make sure Bazaar can export it correctly
            rmtree(location)
        try:
            self.run_command(['export', location], cwd=temp_dir,
                             show_stdout=False)
        finally:
            rmtree(temp_dir)
def export ( self , location ) : temp_dir = tempfile . mkdtemp ( '-export' , 'pip-' ) self . unpack ( temp_dir ) if os . path . exists ( location ) : # Remove the location to make sure Bazaar can export it correctly rmtree ( location ) try : self . run_command ( [ 'export' , location ] , cwd = temp_dir , show_stdout = False ) finally : rmtree ( temp_dir )
Export the Bazaar repository at the url to the destination location
Export the Bazaar repository at the url to the destination location