Commits

Mikhail Korobov committed 29cc6d7

Dumber logging calls

Comments (0)

Files changed (2)

     try:
         gateway = NetcashGateway.objects.get(secret=secret)
     except NetcashGateway.DoesNotExist:
-        logger.warn('Invalid gateway %s. Request: %s', secret, request.raw_post_data)
+        logger.warn('Invalid gateway %s. Request: %s' % (secret, request.raw_post_data))
         raise Http404
 
     ip = request.META.get(NETCASH_IP_HEADER, None)
     try:
         order = NetcashOrder.objects.get(pk=reference)
     except NetcashOrder.DoesNotExist:
-        logger.warn('Unknown order %s. Request: %s', reference, request.raw_post_data)
+        logger.warn('Unknown order %s. Request: %s' % (reference, request.raw_post_data))
         raise Http404
 
     if order.trusted: # don't process processed orders again
-        logger.warn('Order %s is already processed. Request: %s',
-                    order.pk, request.raw_post_data)
+        logger.warn('Order %s is already processed. Request: %s' % (
+                    order.pk, request.raw_post_data))
         raise Http404
 
     if gateway.netcash_ip:
 
 setup(
     name='django-netcash',
-    version='0.4.1',
+    version='0.4.2',
     author='Mikhail Korobov',
     author_email='kmike84@gmail.com',