Use more appropriate exception class for unimplemented functionality

This commit is contained in:
Carey Metcalfe 2019-11-25 23:19:41 -05:00
parent e771488854
commit d1e77c78ee

View file

@ -49,7 +49,7 @@ def _add_text_elm(entry, data, name):
data[name])) data[name]))
# Everything else should be included base64 encoded # Everything else should be included base64 encoded
else: else:
raise ValueError( raise NotImplementedError(
'base64 encoded {} is not supported at the moment. ' 'base64 encoded {} is not supported at the moment. '
'Pull requests adding support are welcome.'.format(name) 'Pull requests adding support are welcome.'.format(name)
) )