def extract_paths(self, paths, ignore_nopath):
        """
        Extract the given paths from the domain
        Args:
            paths(list of str): paths to extract
            ignore_nopath(boolean): if True will ignore none existing paths.
        Returns:
            None
        Raises:
            :exc:`~lago.plugins.vm.ExtractPathNoPathError`: if a none existing
                path was found on the VM, and ``ignore_nopath`` is True.
            :exc:`~lago.plugins.vm.ExtractPathError`: on all other failures.
        """
        try:
            if self._has_tar_and_gzip():
                self._extract_paths_tar_gz(paths, ignore_nopath)
            else:
                self._extract_paths_scp(paths, ignore_nopath)
        except (ssh.LagoSSHTimeoutException, LagoVMNotRunningError):
            raise ExtractPathError(
                'Unable to extract paths from {0}: unreachable with SSH'.
                format(self.vm.name())
            )
def extract_paths ( self , paths , ignore_nopath ) : try : if self . _has_tar_and_gzip ( ) : self . _extract_paths_tar_gz ( paths , ignore_nopath ) else : self . _extract_paths_scp ( paths , ignore_nopath ) except ( ssh . LagoSSHTimeoutException , LagoVMNotRunningError ) : raise ExtractPathError ( 'Unable to extract paths from {0}: unreachable with SSH' . format ( self . vm . name ( ) ) )
Extract the given paths from the domain
        Args:
            paths(list of str): paths to extract
            ignore_nopath(boolean): if True will ignore none existing paths.
        Returns:
            None
        Raises:
            :exc:`~lago.plugins.vm.ExtractPathNoPathError`: if a none existing
                path was found on the VM, and ``ignore_nopath`` is True.
            :exc:`~lago.plugins.vm.ExtractPathError`: on all other failures.