From: Matías Aguirre Date: Thu, 19 May 2011 15:23:22 +0000 (-0300) Subject: Endline spaces and unused import cleanup X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=250197bf1b4a0f5eef14ae85ae28426cb0693019;p=django-social-auth.git Endline spaces and unused import cleanup --- diff --git a/contrib/models.py b/contrib/models.py index 71a8362..e69de29 100644 --- a/contrib/models.py +++ b/contrib/models.py @@ -1,3 +0,0 @@ -from django.db import models - -# Create your models here. diff --git a/example/urls.py b/example/urls.py index d8d250b..bcede41 100644 --- a/example/urls.py +++ b/example/urls.py @@ -7,10 +7,10 @@ from app.views import home, done, logout, error admin.autodiscover() urlpatterns = patterns('', - url(r'^$', home, name='home'), - url(r'^done/$', done, name='done'), + url(r'^$', home, name='home'), + url(r'^done/$', done, name='done'), url(r'^error/$', error, name='error'), - url(r'^logout/$', logout, name='logout'), + url(r'^logout/$', logout, name='logout'), url(r'^admin/', include(admin.site.urls)), url(r'', include('social_auth.urls')), ) diff --git a/social_auth/tests/base.py b/social_auth/tests/base.py index f88cd87..0120a2a 100644 --- a/social_auth/tests/base.py +++ b/social_auth/tests/base.py @@ -89,7 +89,7 @@ class FormParser(CustomParser): attrs = dict(attributes) if self.in_form(attrs): # flag that we are inside the form and save action - self.inside_form = True + self.inside_form = True self.action = attrs.get('action') def in_form(self, attrs):