Commits

Waldemar Kornewald committed 8d2fe42

cosmetic change

  • Participants
  • Parent commits 1f641cc

Comments (0)

Files changed (2)

File db/compiler.py

                 query[key] = [existing_value, value]
         else:
             query[key] = value
+
     # ----------------------------------------------
     # Internal API
     # ----------------------------------------------

File tests/decimals.py

 D = Decimal
 
 class DecimalTest(TestCase):
-    
     DECIMALS =  D("12345.6789"), D("5"), D("345.67"), D("45.6"), D("2345.678"),
 
     def setUp(self):
 
         self.assertTrue(isinstance(d.decimal, Decimal))
         self.assertEquals(str(d.decimal), "5.00")
-        
+
         d = DecimalModel.objects.get(decimal=D("45.60"))
         self.assertEquals(str(d.decimal), "45.60")
-        
+
         # Filter argument should be converted to Decimal with 2 decimal_places
         d = DecimalModel.objects.get(decimal="0000345.67333333333333333")
         self.assertEquals(str(d.decimal), "345.67")
-      
+
     def test_order(self):
         rows = DecimalModel.objects.all().order_by('decimal')
         values = list(d.decimal for d in rows)
         self.assertEquals(values, sorted(values))
-