Use more appropriate exception class for unimplemented functionality
This commit is contained in:
parent
e771488854
commit
d1e77c78ee
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ def _add_text_elm(entry, data, name):
|
|||
data[name]))
|
||||
# Everything else should be included base64 encoded
|
||||
else:
|
||||
raise ValueError(
|
||||
raise NotImplementedError(
|
||||
'base64 encoded {} is not supported at the moment. '
|
||||
'Pull requests adding support are welcome.'.format(name)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue