Commit d87cfa90 by stv

Fix PEP8: W292 no newline at end of file

parent 2f78b967
# Register signal handlers # Register signal handlers
import signals import signals
import exceptions import exceptions
\ No newline at end of file
...@@ -17,4 +17,4 @@ class RequestCache(object): ...@@ -17,4 +17,4 @@ class RequestCache(object):
def process_response(self, request, response): def process_response(self, request, response):
self.clear_request_cache() self.clear_request_cache()
return response return response
\ No newline at end of file
...@@ -22,4 +22,4 @@ class PasswordResetFormNoActive(PasswordResetForm): ...@@ -22,4 +22,4 @@ class PasswordResetFormNoActive(PasswordResetForm):
if any((user.password == UNUSABLE_PASSWORD) if any((user.password == UNUSABLE_PASSWORD)
for user in self.users_cache): for user in self.users_cache):
raise forms.ValidationError(self.error_messages['unusable']) raise forms.ValidationError(self.error_messages['unusable'])
return email return email
\ No newline at end of file
...@@ -176,4 +176,4 @@ class Migration(SchemaMigration): ...@@ -176,4 +176,4 @@ class Migration(SchemaMigration):
} }
} }
complete_apps = ['student'] complete_apps = ['student']
\ No newline at end of file
...@@ -6,4 +6,4 @@ def use_read_replica_if_available(queryset): ...@@ -6,4 +6,4 @@ def use_read_replica_if_available(queryset):
""" """
If there is a database called 'read_replica', use that database for the queryset. If there is a database called 'read_replica', use that database for the queryset.
""" """
return queryset.using("read_replica") if "read_replica" in settings.DATABASES else queryset return queryset.using("read_replica") if "read_replica" in settings.DATABASES else queryset
\ No newline at end of file
...@@ -126,4 +126,4 @@ class Migration(SchemaMigration): ...@@ -126,4 +126,4 @@ class Migration(SchemaMigration):
} }
} }
complete_apps = ['bulk_email'] complete_apps = ['bulk_email']
\ No newline at end of file
...@@ -73,4 +73,4 @@ class GraphicalSliderToolSteps(object): ...@@ -73,4 +73,4 @@ class GraphicalSliderToolSteps(object):
world.retry_on_exception(try_move) world.retry_on_exception(try_move)
GraphicalSliderToolSteps() GraphicalSliderToolSteps()
\ No newline at end of file
...@@ -188,4 +188,4 @@ class Migration(SchemaMigration): ...@@ -188,4 +188,4 @@ class Migration(SchemaMigration):
} }
} }
complete_apps = ['shoppingcart'] complete_apps = ['shoppingcart']
\ No newline at end of file
...@@ -196,4 +196,4 @@ class Migration(SchemaMigration): ...@@ -196,4 +196,4 @@ class Migration(SchemaMigration):
} }
} }
complete_apps = ['shoppingcart'] complete_apps = ['shoppingcart']
\ No newline at end of file
...@@ -281,4 +281,4 @@ class Migration(SchemaMigration): ...@@ -281,4 +281,4 @@ class Migration(SchemaMigration):
} }
} }
complete_apps = ['shoppingcart'] complete_apps = ['shoppingcart']
\ No newline at end of file
...@@ -221,4 +221,4 @@ class Migration(SchemaMigration): ...@@ -221,4 +221,4 @@ class Migration(SchemaMigration):
} }
} }
complete_apps = ['shoppingcart'] complete_apps = ['shoppingcart']
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment