Applied pylint-amnesty
This commit is contained in:
@@ -128,7 +128,7 @@ class ErrorBlock(
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def from_json(cls, json_data, system, location, error_msg='Error not available'):
|
||||
def from_json(cls, json_data, system, location, error_msg='Error not available'): # lint-amnesty, pylint: disable=missing-function-docstring
|
||||
try:
|
||||
json_string = json.dumps(json_data, skipkeys=False, indent=4, cls=EdxJSONEncoder)
|
||||
except: # pylint: disable=bare-except
|
||||
|
||||
Reference in New Issue
Block a user