From 2e64ece1c5ae3a86096f575a7ce8eced94e33c77 Mon Sep 17 00:00:00 2001 From: Zia Fazal Date: Tue, 26 Dec 2023 11:29:05 +0500 Subject: [PATCH] fix: quality violation --- openedx_cmi5_xblock/openedx_cmi5_xblock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openedx_cmi5_xblock/openedx_cmi5_xblock.py b/openedx_cmi5_xblock/openedx_cmi5_xblock.py index 36c3aff..f32a01e 100644 --- a/openedx_cmi5_xblock/openedx_cmi5_xblock.py +++ b/openedx_cmi5_xblock/openedx_cmi5_xblock.py @@ -465,13 +465,13 @@ def extract_zip_file(self, package_file): self.storage.save(dest_path, ContentFile(cmi5_zipfile.read(zipinfo.filename))) def save_xml_file(self, package_file): - """Saves an XML file from the CMI5 package.""" + """Saves an XML file from the CMI5 package.""" self.xml_file_name = getattr(package_file, 'filename', package_file.name) dest_path = os.path.join(self.extract_folder_path, self.xml_file_name) self.storage.save(dest_path, ContentFile(package_file.read())) def update_package_fields(self): - """Update version and index page path fields.""" + """Update version and index page path fields.""" cmi5_path = self.find_file_path(self.xml_file_name) cmi5_file = self.storage.open(cmi5_path) tree = ET.parse(cmi5_file)