Commit 5677b143 by stv

Fix PEP8: W391 blank line at end of file

parent fb9f324f
......@@ -387,4 +387,3 @@ def create_other_user(_step, name, has_extra_perms, role_name):
@step('I log out')
def log_out(_step):
world.visit('logout')
......@@ -10,4 +10,3 @@ class Command(BaseCommand):
raise CommandError("restore_asset_from_trashcan requires one argument: <location>")
restore_asset_from_trashcan(args[0])
......@@ -204,4 +204,3 @@ def primitive_insert(course, num, tab_type, name):
tabs = course.tabs
tabs.insert(num, new_tab)
modulestore().update_item(course, ModuleStoreEnum.UserID.primitive_command)
......@@ -17,4 +17,3 @@ startup.run()
# as well as any WSGI server configured to use this file.
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
......@@ -83,4 +83,3 @@ def _check_caller_authority(caller, role):
elif isinstance(role, CourseRole): # instructors can change the roles w/in their course
if not has_access(caller, CourseInstructorRole(role.course_key)):
raise PermissionDenied
......@@ -65,4 +65,3 @@ class Command(BaseCommand):
))
except IOError:
raise CommandError("Error writing to file: %s" % output_filename)
......@@ -39,4 +39,3 @@ class MakoModuleDescriptor(XModuleDescriptor):
def get_html(self):
return self.system.render_template(
self.mako_template, self.get_context())
......@@ -65,4 +65,3 @@ class TabsEditingDescriptorTestCase(unittest.TestCase):
""""test get_context"""
rendered_context = self.descriptor.get_context()
self.assertListEqual(rendered_context['tabs'], self.tabs)
......@@ -46,4 +46,3 @@ class WordCloudModuleTest(LogicTest):
self.assertEqual(
100.0,
sum(i['percent'] for i in response['top_words']))
......@@ -73,4 +73,3 @@ def check_firefox_version():
'\t$ firefox --version\n'
'\t{version}'.format(version=expected_firefox_ver)
)
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