Fix PEP8: W391 blank line at end of file

This commit is contained in:
stv
2014-11-08 20:07:08 -08:00
parent fb9f324f2f
commit 5677b143db
13 changed files with 0 additions and 13 deletions

View File

@@ -1 +0,0 @@

View File

@@ -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')

View File

@@ -10,4 +10,3 @@ class Command(BaseCommand):
raise CommandError("restore_asset_from_trashcan requires one argument: <location>")
restore_asset_from_trashcan(args[0])

View File

@@ -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)

View File

@@ -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()

View File

@@ -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

View File

@@ -65,4 +65,3 @@ class Command(BaseCommand):
))
except IOError:
raise CommandError("Error writing to file: %s" % output_filename)

View File

@@ -1,2 +1 @@
# Create your models here.

View File

@@ -1 +0,0 @@

View File

@@ -39,4 +39,3 @@ class MakoModuleDescriptor(XModuleDescriptor):
def get_html(self):
return self.system.render_template(
self.mako_template, self.get_context())

View File

@@ -65,4 +65,3 @@ class TabsEditingDescriptorTestCase(unittest.TestCase):
""""test get_context"""
rendered_context = self.descriptor.get_context()
self.assertListEqual(rendered_context['tabs'], self.tabs)

View File

@@ -46,4 +46,3 @@ class WordCloudModuleTest(LogicTest):
self.assertEqual(
100.0,
sum(i['percent'] for i in response['top_words']))

View File

@@ -73,4 +73,3 @@ def check_firefox_version():
'\t$ firefox --version\n'
'\t{version}'.format(version=expected_firefox_ver)
)