~daniel-nichter/boots/vertical-output

« back to all changes in this revision

Viewing changes to boots/lib/console.py

  • Committer: Max Goodman
  • Date: 2010-03-29 23:47:14 UTC
  • Revision ID: chromakode@gmail.com-20100329234714-e6jy51kq2j79ev3i
Fix up unit tests, handle warnings in api.Server objects, and add --quiet option to suppress warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
265
265
                    return self._error(e)
266
266
                    
267
267
        elif origin is self.presenter.presenter_graph.output_link:
268
 
            if isinstance(data, Exception) and not self.driver.is_interactive:
 
268
            if isinstance(data, Exception)\
 
269
               and not isinstance(data, Warning)\
 
270
               and not self.driver.is_interactive:
269
271
                self.quit(exit_code=1)
270
272
    
271
273
    def handle_signal(self, signum, frame):