Method
setup_terminal
(self, stdout, stderr,
nosplash=False, quiet=False, verbose=False,
no_color=False, **kwargs)
Source from the content-addressed store, hash-verified
| 176 | retcode = 0 |
| 177 | |
| 178 | def setup_terminal(self, stdout, stderr, |
| 179 | nosplash=False, quiet=False, verbose=False, |
| 180 | no_color=False, **kwargs): |
| 181 | self.stdout = stdout or sys.stdout |
| 182 | self.stderr = stderr or sys.stderr |
| 183 | self.nosplash = nosplash |
| 184 | self.quiet = quiet |
| 185 | self.verbose = verbose |
| 186 | self.no_color = no_color |
| 187 | |
| 188 | def ok(self, m, newline=True, file=None): |
| 189 | self.say(m, newline=newline, file=file) |
Tested by
no test coverage detected