Browse Source

Attacking PEP8

Rafał Pitoń 11 years ago
parent
commit
985091df4d
2 changed files with 1 additions and 2 deletions
  1. 1 1
      misago/core/context_processors.py
  2. 0 1
      misago/core/tests/test_context_processors.py

+ 1 - 1
misago/core/context_processors.py

@@ -3,4 +3,4 @@ def site_address(request):
         address_template = 'https://%s'
     else:
         address_template = 'http://%s'
-    return {'SITE_ADDRESS': address_template % request.get_host(),}
+    return {'SITE_ADDRESS': address_template % request.get_host()}

+ 0 - 1
misago/core/tests/test_context_processors.py

@@ -1,4 +1,3 @@
-from django.core.urlresolvers import reverse
 from django.test import TestCase
 from misago.core import context_processors