]> git.ipfire.org Git - thirdparty/python-drafthorse.git/commitdiff
Fix flake8 warning
authorRaphael Michel <mail@raphaelmichel.de>
Thu, 25 Oct 2018 21:28:27 +0000 (23:28 +0200)
committerRaphael Michel <mail@raphaelmichel.de>
Thu, 25 Oct 2018 21:28:27 +0000 (23:28 +0200)
drafthorse/models/container.py

index 58f073dbf74d54768b1d8f5a3c33355f226067fc..981fb444bb77706ca16ecb12b0203bf89685fb0a 100644 (file)
@@ -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: