capybara/virtualenv/lib/python2.7/site-packages/pip/req/req_uninstall.py
def rollback(self):
        """Rollback the changes previously made by remove()."""
        if self.save_dir is None:
            logger.error(
                "Can't roll back %s; was not uninstalled",
                self.dist.project_name,
            )
            return False
        logger.info('Rolling back uninstall of %s', self.dist.project_name)
        for path in self._moved_paths:
            tmp_path = self._stash(path)
            logger.debug('Replacing %s', path)
            renames(tmp_path, path)
        for pth in self.pth.values():
            pth.rollback()
def rollback(self):
        """Rollback the changes previously made by remove()."""
        if self.save_dir is None:
            logger.error(
                "Can't roll back %s; was not uninstalled",
                self.dist.project_name,
            )
            return False
        logger.info('Rolling back uninstall of %s', self.dist.project_name)
        for path in self._moved_paths:
            tmp_path = self._stash(path)
            logger.debug('Replacing %s', path)
            renames(tmp_path, path)
        for pth in self.pth.values():
            pth.rollback()
def rollback ( self ) : if self . save_dir is None : logger . error ( "Can't roll back %s; was not uninstalled" , self . dist . project_name , ) return False logger . info ( 'Rolling back uninstall of %s' , self . dist . project_name ) for path in self . _moved_paths : tmp_path = self . _stash ( path ) logger . debug ( 'Replacing %s' , path ) renames ( tmp_path , path ) for pth in self . pth . values ( ) : pth . rollback ( )
Rollback the changes previously made by remove().
Rollback the changes previously made by remove () .