From: Raphael Michel Date: Thu, 25 Oct 2018 21:28:27 +0000 (+0200) Subject: Fix flake8 warning X-Git-Tag: 1.0.0~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f95b8d6abcc9c80275f479242e6e319289cf7a82;p=thirdparty%2Fpython-drafthorse.git Fix flake8 warning --- diff --git a/drafthorse/models/container.py b/drafthorse/models/container.py index 58f073d..981fb44 100644 --- a/drafthorse/models/container.py +++ b/drafthorse/models/container.py @@ -35,10 +35,10 @@ class SimpleContainer(Container): return '{%s}%s' % (self.namespace, self.tag) def empty_element(self): - raise NotImplemented() + raise NotImplementedError() def set_element(self, el, child): - raise NotImplemented() + raise NotImplementedError() def append_to(self, node): for child in self.children: