Verified Commit d38beea8 authored by Ziirish's avatar Ziirish

fix lint

parent d7b59ff7
Pipeline #1484 passed with stages
in 15 minutes and 5 seconds
......@@ -29,6 +29,6 @@ clean_coverage:
flake8:
@echo 'Checking pep8 compliance and errors...'
@flake8 --ignore=E501,E722 burpui
@flake8 --ignore=E501,E722,W605,W504 burpui
check: pep8 pyflakes doc_coverage test
......@@ -51,7 +51,7 @@ class DateTime(fields.DateTime):
return fields.DateTime.format(self, value)
except (AttributeError, ValueError) as e:
raise fields.MarshallingError(e)
except arrow.parser.ParserError as e:
except arrow.parser.ParserError:
return _(str(value))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment