string formatting, whitespace, minor cleanups throughout

This commit is contained in:
The MMGen Project 2020-05-26 14:53:44 +00:00
commit 9489b1cb2d
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
30 changed files with 438 additions and 267 deletions

View file

@ -83,7 +83,8 @@ class MMGenPexpect(object):
ret = self.p.wait()
if ret != self.req_exit_val and not opt.coverage:
die(1,red('test.py: spawned program exited with value {}'.format(ret)))
if opt.profile: return
if opt.profile:
return
if not self.skip_ok:
sys.stderr.write(green('OK\n') if opt.exact_output or opt.verbose else (' OK\n'))
return self