Remove debugging printouts from NumberColumn.render().
authorW. Trevor King <wking@drexel.edu>
Thu, 21 Jul 2011 19:23:22 +0000 (15:23 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 21 Jul 2011 19:23:22 +0000 (15:23 -0400)
insider/views.py

index 544180783bd48f0e4f748b21f05132933bc520f9..68513097d559979ce8b7c6f92e37c945cf4edd2f 100644 (file)
@@ -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: