Revision 989
Added by Aaron Marcuse-Kubitza about 13 years ago
exc.py | ||
---|---|---|
3 | 3 |
import atexit |
4 | 4 |
import sys |
5 | 5 |
|
6 |
import format |
|
6 | 7 |
import strings |
7 | 8 |
import term |
8 | 9 |
import util |
... | ... | |
57 | 58 |
|
58 | 59 |
def msg(self): |
59 | 60 |
msg = ExTracker.msg(self) |
60 |
if self.iter_ct != None: msg += ('/'+util.int2str(self.iter_ct)+' '
|
|
61 |
if self.iter_ct != None: msg += ('/'+format.int2str(self.iter_ct)+' '
|
|
61 | 62 |
+self.iter_text+'(s) = ' |
62 |
+util.to_percent(float(self.e_ct)/self.iter_ct))
|
|
63 |
+format.to_percent(float(self.e_ct)/self.iter_ct))
|
|
63 | 64 |
return msg |
Also available in: Unified diff
Moved value to string conversion functions infrom util.py to new module format.py