Skip to content

Commit

Permalink
Merge pull request #28 from openedx/iahmad/ENT-8117-4
Browse files Browse the repository at this point in the history
fix: Removed temporary logs
  • Loading branch information
irfanuddinahmad authored Jan 31, 2024
2 parents 96e6e66 + 9cb497d commit e650d68
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ Unreleased

*

[0.1.7] - 2024-01-31
************************************************

Changed
=======

* Removed temporary logs


[0.1.6] - 2024-01-29
************************************************

Expand Down
2 changes: 1 addition & 1 deletion skill_tagging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Django app plugin for fetching and verifying tags for xblock skills.
"""

__version__ = '0.1.6'
__version__ = '0.1.7'

# pylint: disable=invalid-name
default_app_config = 'skill_tagging.apps.SkillTaggingConfig'
8 changes: 0 additions & 8 deletions skill_tagging/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ def run_filter(self, block, fragment, context, view): # pylint: disable=argumen
return {"block": block, "fragment": fragment, "context": context, "view": view}
skills = self.fetch_related_skills(block)
if not skills:
logger.info(
"[Xblock-Skill-Tagging] Skills missing for vertical block. Block-ID: %s",
str(block.scope_ids.usage_id.block_id)
)
return {"block": block, "fragment": fragment, "context": context, "view": view}
usage_id = block.scope_ids.usage_id
data = self.get_skill_context(usage_id, block, skills)
Expand Down Expand Up @@ -128,10 +124,6 @@ def run_filter(self, block, context): # pylint: disable=arguments-differ
return {"block": block, "context": context}
skills = self.fetch_related_skills(block)
if not skills:
logger.info(
"[Xblock-Skill-Tagging] Skills missing for video. Block-ID: %s",
str(block.scope_ids.usage_id.block_id)
)
return {"block": block, "context": context}
data = self.get_skill_context(usage_id, block, skills)

Expand Down

0 comments on commit e650d68

Please sign in to comment.