From f9253095e5ab1274acc774c28a885be8c1d0625b Mon Sep 17 00:00:00 2001 From: farhan Date: Wed, 13 Sep 2023 13:27:12 +0500 Subject: [PATCH] chore: Address PR change requests --- xblock/test/utils/test_publish_event.py | 18 ------------------ xblock/test/utils/test_resources.py | 19 ------------------- xblock/utils/__init__.py | 5 ----- xblock/utils/publish_event.py | 18 ------------------ xblock/utils/resources.py | 18 ------------------ xblock/utils/settings.py | 3 --- xblock/utils/studio_editable.py | 3 --- 7 files changed, 84 deletions(-) diff --git a/xblock/test/utils/test_publish_event.py b/xblock/test/utils/test_publish_event.py index fc8571641..6c463495c 100644 --- a/xblock/test/utils/test_publish_event.py +++ b/xblock/test/utils/test_publish_event.py @@ -1,24 +1,6 @@ """ Test cases for xblock/utils/publish_event.py """ -# -# Copyright (C) 2014-2015 edX -# -# This software's license gives you freedom; you can copy, convey, -# propagate, redistribute and/or modify this program under the terms of -# the GNU Affero General Public License (AGPL) as published by the Free -# Software Foundation (FSF), either version 3 of the License, or (at your -# option) any later version of the AGPL published by the FSF. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program in a file in the toplevel directory called -# "AGPLv3". If not, see . -# import unittest diff --git a/xblock/test/utils/test_resources.py b/xblock/test/utils/test_resources.py index 5badcd4f2..d95b0114d 100644 --- a/xblock/test/utils/test_resources.py +++ b/xblock/test/utils/test_resources.py @@ -2,25 +2,6 @@ Tests for resources.py """ -# -# Copyright (C) 2014-2015 edX -# -# This software's license gives you freedom; you can copy, convey, -# propagate, redistribute and/or modify this program under the terms of -# the GNU Affero General Public License (AGPL) as published by the Free -# Software Foundation (FSF), either version 3 of the License, or (at your -# option) any later version of the AGPL published by the FSF. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program in a file in the toplevel directory called -# "AGPLv3". If not, see . -# - import gettext import unittest diff --git a/xblock/utils/__init__.py b/xblock/utils/__init__.py index ac57d0fe7..e69de29bb 100644 --- a/xblock/utils/__init__.py +++ b/xblock/utils/__init__.py @@ -1,5 +0,0 @@ -""" -Useful classes and functionality for building and testing XBlocks -""" - -__version__ = '3.4.1' diff --git a/xblock/utils/publish_event.py b/xblock/utils/publish_event.py index d366f9cf5..570b182ec 100644 --- a/xblock/utils/publish_event.py +++ b/xblock/utils/publish_event.py @@ -1,21 +1,3 @@ -# -# Copyright (C) 2014-2015 edX -# -# This software's license gives you freedom; you can copy, convey, -# propagate, redistribute and/or modify this program under the terms of -# the GNU Affero General Public License (AGPL) as published by the Free -# Software Foundation (FSF), either version 3 of the License, or (at your -# option) any later version of the AGPL published by the FSF. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program in a file in the toplevel directory called -# "AGPLv3". If not, see . -# """ PublishEventMixin: A mixin for publishing events from an XBlock """ diff --git a/xblock/utils/resources.py b/xblock/utils/resources.py index 3c4756378..435869b24 100644 --- a/xblock/utils/resources.py +++ b/xblock/utils/resources.py @@ -1,21 +1,3 @@ -# -# Copyright (C) 2014-2015 Harvard, edX, OpenCraft -# -# This software's license gives you freedom; you can copy, convey, -# propagate, redistribute and/or modify this program under the terms of -# the GNU Affero General Public License (AGPL) as published by the Free -# Software Foundation (FSF), either version 3 of the License, or (at your -# option) any later version of the AGPL published by the FSF. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program in a file in the toplevel directory called -# "AGPLv3". If not, see . -# """ Helper class (ResourceLoader) for loading resources used by an XBlock """ diff --git a/xblock/utils/settings.py b/xblock/utils/settings.py index b9035229f..31c3b9a8f 100644 --- a/xblock/utils/settings.py +++ b/xblock/utils/settings.py @@ -1,6 +1,3 @@ -# -# Copyright (C) 2015 OpenCraft -# License: AGPLv3 """ This module contains a mixins that allows third party XBlocks to access Settings Service in edX LMS. """ diff --git a/xblock/utils/studio_editable.py b/xblock/utils/studio_editable.py index f478d971f..b705854cb 100644 --- a/xblock/utils/studio_editable.py +++ b/xblock/utils/studio_editable.py @@ -1,6 +1,3 @@ -# -# Copyright (C) 2015 OpenCraft -# License: AGPLv3 """ This module contains a mixin that allows third party XBlocks to be easily edited within edX Studio just like the built-in modules. No configuration required, just add