Error is printed within run_shell if command failed. Verbosity is pretty bad name. If verbose is True output is printed immediately, otherwise it is captured and printed if command failed.

On May 29, 2014, at 4:03 PM, Oleg Sinyavskiy <notifications@github.com> wrote:

> In robustus/robustus.py:
> 
> > @@ -266,7 +266,9 @@ def install_requirement(self, requirement_specifier, ignore_index, tag):
> >              command = ' '.join([self.pip_executable, 'install', requirement_specifier.freeze()])
> >              logging.info('Got url-based requirement. '
> >                           'Fall back to pip shell command:%s' % (command,))
> > -            run_shell(command, shell=True)
> > +            ret_code = run_shell(command, shell=True, verbose=self.settings['verbosity'] >= 1)
> > +            if ret_code != 0:
> > +                return  # do not print done, do not add package to the list of cached packages
> can we print error? even if verbosity is low, it is usefull to print full errors.
> 
> —
> Reply to this email directly or view it on GitHub.
>