Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
d87cfa90
Commit
d87cfa90
authored
Nov 08, 2014
by
stv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix PEP8: W292 no newline at end of file
parent
2f78b967
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
11 additions
and
22 deletions
+11
-22
common/djangoapps/monitoring/startup.py
+1
-2
common/djangoapps/request_cache/middleware.py
+1
-2
common/djangoapps/student/forms.py
+1
-2
common/djangoapps/student/migrations/0041_add_dashboard_config.py
+1
-2
common/djangoapps/util/query.py
+1
-2
lms/djangoapps/bulk_email/migrations/0010_auto__chg_field_optout_course_id__add_field_courseemail_template_name_.py
+1
-2
lms/djangoapps/courseware/features/gst.py
+1
-2
lms/djangoapps/shoppingcart/migrations/0018_auto__add_donation.py
+1
-2
lms/djangoapps/shoppingcart/migrations/0019_auto__add_donationconfiguration.py
+1
-2
lms/djangoapps/shoppingcart/migrations/0020_auto__add_courseregcodeitem__add_courseregcodeitemannotation__add_fiel.py
+1
-2
lms/djangoapps/shoppingcart/migrations/0021_auto__add_field_orderitem_created__add_field_orderitem_modified.py
+1
-2
No files found.
common/djangoapps/monitoring/startup.py
View file @
d87cfa90
# Register signal handlers
import
signals
import
exceptions
\ No newline at end of file
import
exceptions
common/djangoapps/request_cache/middleware.py
View file @
d87cfa90
...
...
@@ -17,4 +17,4 @@ class RequestCache(object):
def
process_response
(
self
,
request
,
response
):
self
.
clear_request_cache
()
return
response
\ No newline at end of file
return
response
common/djangoapps/student/forms.py
View file @
d87cfa90
...
...
@@ -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
\ No newline at end of file
return
email
common/djangoapps/student/migrations/0041_add_dashboard_config.py
View file @
d87cfa90
...
...
@@ -176,4 +176,4 @@ class Migration(SchemaMigration):
}
}
complete_apps
=
[
'student'
]
\ No newline at end of file
complete_apps
=
[
'student'
]
common/djangoapps/util/query.py
View file @
d87cfa90
...
...
@@ -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
\ No newline at end of file
return
queryset
.
using
(
"read_replica"
)
if
"read_replica"
in
settings
.
DATABASES
else
queryset
lms/djangoapps/bulk_email/migrations/0010_auto__chg_field_optout_course_id__add_field_courseemail_template_name_.py
View file @
d87cfa90
...
...
@@ -126,4 +126,4 @@ class Migration(SchemaMigration):
}
}
complete_apps
=
[
'bulk_email'
]
\ No newline at end of file
complete_apps
=
[
'bulk_email'
]
lms/djangoapps/courseware/features/gst.py
View file @
d87cfa90
...
...
@@ -73,4 +73,4 @@ class GraphicalSliderToolSteps(object):
world
.
retry_on_exception
(
try_move
)
GraphicalSliderToolSteps
()
\ No newline at end of file
GraphicalSliderToolSteps
()
lms/djangoapps/shoppingcart/migrations/0018_auto__add_donation.py
View file @
d87cfa90
...
...
@@ -188,4 +188,4 @@ class Migration(SchemaMigration):
}
}
complete_apps
=
[
'shoppingcart'
]
\ No newline at end of file
complete_apps
=
[
'shoppingcart'
]
lms/djangoapps/shoppingcart/migrations/0019_auto__add_donationconfiguration.py
View file @
d87cfa90
...
...
@@ -196,4 +196,4 @@ class Migration(SchemaMigration):
}
}
complete_apps
=
[
'shoppingcart'
]
\ No newline at end of file
complete_apps
=
[
'shoppingcart'
]
lms/djangoapps/shoppingcart/migrations/0020_auto__add_courseregcodeitem__add_courseregcodeitemannotation__add_fiel.py
View file @
d87cfa90
...
...
@@ -281,4 +281,4 @@ class Migration(SchemaMigration):
}
}
complete_apps
=
[
'shoppingcart'
]
\ No newline at end of file
complete_apps
=
[
'shoppingcart'
]
lms/djangoapps/shoppingcart/migrations/0021_auto__add_field_orderitem_created__add_field_orderitem_modified.py
View file @
d87cfa90
...
...
@@ -221,4 +221,4 @@ class Migration(SchemaMigration):
}
}
complete_apps
=
[
'shoppingcart'
]
\ No newline at end of file
complete_apps
=
[
'shoppingcart'
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment