Fix PEP8: W292 no newline at end of file
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# Register signal handlers
|
||||
import signals
|
||||
import exceptions
|
||||
import exceptions
|
||||
|
||||
@@ -17,4 +17,4 @@ class RequestCache(object):
|
||||
|
||||
def process_response(self, request, response):
|
||||
self.clear_request_cache()
|
||||
return response
|
||||
return response
|
||||
|
||||
@@ -22,4 +22,4 @@ class PasswordResetFormNoActive(PasswordResetForm):
|
||||
if any((user.password == UNUSABLE_PASSWORD)
|
||||
for user in self.users_cache):
|
||||
raise forms.ValidationError(self.error_messages['unusable'])
|
||||
return email
|
||||
return email
|
||||
|
||||
@@ -176,4 +176,4 @@ class Migration(SchemaMigration):
|
||||
}
|
||||
}
|
||||
|
||||
complete_apps = ['student']
|
||||
complete_apps = ['student']
|
||||
|
||||
@@ -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.
|
||||
"""
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user