From 5677b143db4c41a6913954cf679c5e8672a7a110 Mon Sep 17 00:00:00 2001 From: stv Date: Sat, 8 Nov 2014 20:07:08 -0800 Subject: [PATCH] Fix PEP8: W391 blank line at end of file --- cms/djangoapps/contentstore/__init__.py | 1 - cms/djangoapps/contentstore/features/common.py | 1 - .../management/commands/restore_asset_from_trashcan.py | 1 - cms/djangoapps/contentstore/views/tabs.py | 1 - cms/wsgi.py | 1 - common/djangoapps/student/auth.py | 1 - .../student/management/commands/anonymized_id_mapping.py | 1 - common/djangoapps/util/models.py | 1 - common/djangoapps/util/tests/__init__.py | 1 - common/lib/xmodule/xmodule/mako_module.py | 1 - common/lib/xmodule/xmodule/tests/test_editing_module.py | 1 - common/lib/xmodule/xmodule/tests/test_word_cloud.py | 1 - pavelib/utils/test/utils.py | 1 - 13 files changed, 13 deletions(-) diff --git a/cms/djangoapps/contentstore/__init__.py b/cms/djangoapps/contentstore/__init__.py index 8b13789179..e69de29bb2 100644 --- a/cms/djangoapps/contentstore/__init__.py +++ b/cms/djangoapps/contentstore/__init__.py @@ -1 +0,0 @@ - diff --git a/cms/djangoapps/contentstore/features/common.py b/cms/djangoapps/contentstore/features/common.py index 491201bd15..e3929cf94d 100644 --- a/cms/djangoapps/contentstore/features/common.py +++ b/cms/djangoapps/contentstore/features/common.py @@ -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') - diff --git a/cms/djangoapps/contentstore/management/commands/restore_asset_from_trashcan.py b/cms/djangoapps/contentstore/management/commands/restore_asset_from_trashcan.py index 6770bfaf44..7513b8b47c 100644 --- a/cms/djangoapps/contentstore/management/commands/restore_asset_from_trashcan.py +++ b/cms/djangoapps/contentstore/management/commands/restore_asset_from_trashcan.py @@ -10,4 +10,3 @@ class Command(BaseCommand): raise CommandError("restore_asset_from_trashcan requires one argument: ") restore_asset_from_trashcan(args[0]) - diff --git a/cms/djangoapps/contentstore/views/tabs.py b/cms/djangoapps/contentstore/views/tabs.py index bc4636a030..d374e64343 100644 --- a/cms/djangoapps/contentstore/views/tabs.py +++ b/cms/djangoapps/contentstore/views/tabs.py @@ -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) - diff --git a/cms/wsgi.py b/cms/wsgi.py index 199d3939ee..af11d8d532 100644 --- a/cms/wsgi.py +++ b/cms/wsgi.py @@ -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() - diff --git a/common/djangoapps/student/auth.py b/common/djangoapps/student/auth.py index 49a06f2579..7fa22b9d58 100644 --- a/common/djangoapps/student/auth.py +++ b/common/djangoapps/student/auth.py @@ -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 - diff --git a/common/djangoapps/student/management/commands/anonymized_id_mapping.py b/common/djangoapps/student/management/commands/anonymized_id_mapping.py index d7707cb738..4a1cf1b50a 100644 --- a/common/djangoapps/student/management/commands/anonymized_id_mapping.py +++ b/common/djangoapps/student/management/commands/anonymized_id_mapping.py @@ -65,4 +65,3 @@ class Command(BaseCommand): )) except IOError: raise CommandError("Error writing to file: %s" % output_filename) - diff --git a/common/djangoapps/util/models.py b/common/djangoapps/util/models.py index f2fb241a82..6b20219993 100644 --- a/common/djangoapps/util/models.py +++ b/common/djangoapps/util/models.py @@ -1,2 +1 @@ # Create your models here. - diff --git a/common/djangoapps/util/tests/__init__.py b/common/djangoapps/util/tests/__init__.py index 8b13789179..e69de29bb2 100644 --- a/common/djangoapps/util/tests/__init__.py +++ b/common/djangoapps/util/tests/__init__.py @@ -1 +0,0 @@ - diff --git a/common/lib/xmodule/xmodule/mako_module.py b/common/lib/xmodule/xmodule/mako_module.py index 3d37bd615e..ecbac28d86 100644 --- a/common/lib/xmodule/xmodule/mako_module.py +++ b/common/lib/xmodule/xmodule/mako_module.py @@ -39,4 +39,3 @@ class MakoModuleDescriptor(XModuleDescriptor): def get_html(self): return self.system.render_template( self.mako_template, self.get_context()) - diff --git a/common/lib/xmodule/xmodule/tests/test_editing_module.py b/common/lib/xmodule/xmodule/tests/test_editing_module.py index 01915830de..b492cf63b1 100644 --- a/common/lib/xmodule/xmodule/tests/test_editing_module.py +++ b/common/lib/xmodule/xmodule/tests/test_editing_module.py @@ -65,4 +65,3 @@ class TabsEditingDescriptorTestCase(unittest.TestCase): """"test get_context""" rendered_context = self.descriptor.get_context() self.assertListEqual(rendered_context['tabs'], self.tabs) - diff --git a/common/lib/xmodule/xmodule/tests/test_word_cloud.py b/common/lib/xmodule/xmodule/tests/test_word_cloud.py index bc7b542003..c690054cbb 100644 --- a/common/lib/xmodule/xmodule/tests/test_word_cloud.py +++ b/common/lib/xmodule/xmodule/tests/test_word_cloud.py @@ -46,4 +46,3 @@ class WordCloudModuleTest(LogicTest): self.assertEqual( 100.0, sum(i['percent'] for i in response['top_words'])) - diff --git a/pavelib/utils/test/utils.py b/pavelib/utils/test/utils.py index e92ae7f201..17c1c71101 100644 --- a/pavelib/utils/test/utils.py +++ b/pavelib/utils/test/utils.py @@ -73,4 +73,3 @@ def check_firefox_version(): '\t$ firefox --version\n' '\t{version}'.format(version=expected_firefox_ver) ) -