Skip to content

Commit

Permalink
refactor: removed pylint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Talha-Rizwan committed Nov 25, 2023
1 parent 7c25a6c commit 9106b6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openedx_cmi5_xblock/openedx_cmi5_xblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ def get_sha1(file_descriptor):
def storage(self):
"""
Return the storage backend used to store the assets of this xblock.
This is a cached property.
"""
if not getattr(self, '_storage', None):
Expand Down Expand Up @@ -603,7 +603,7 @@ def workbench_scenarios():
def parse_int(value, default):
"""
Parses an integer.
returning the parsed value or a default if unsuccessful.
"""
try:
Expand All @@ -615,7 +615,7 @@ def parse_int(value, default):
def parse_float(value, default):
"""
Parses a float.
Returning the parsed value or a default if unsuccessful.
"""
try:
Expand Down

0 comments on commit 9106b6b

Please sign in to comment.