projects
/
insider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
919bd6e
)
Remove debugging printouts from NumberColumn.render().
author
W. Trevor King
<wking@drexel.edu>
Thu, 21 Jul 2011 19:23:22 +0000
(15:23 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 21 Jul 2011 19:23:22 +0000
(15:23 -0400)
insider/views.py
patch
|
blob
|
history
diff --git
a/insider/views.py
b/insider/views.py
index 544180783bd48f0e4f748b21f05132933bc520f9..68513097d559979ce8b7c6f92e37c945cf4edd2f 100644
(file)
--- a/
insider/views.py
+++ b/
insider/views.py
@@
-42,9
+42,7
@@
class NumberColumn(Column):
if isinstance(value, Decimal):
integer = int(value.quantize(Decimal('1.'), rounding=ROUND_DOWN))
decimal = int(abs(value - integer) * 100)
- print value
value = '{}.{:02d}'.format(self._format_integer(integer), decimal)
- print value
elif isinstance(value, int):
value = self._format_integer(value)
else: