Skip to content
Snippets Groups Projects
Commit 7f2f87cf authored by florian's avatar florian
Browse files

STY: autpep8'd

parent d0599938
Branches
Tags
2 merge requests!33MAINT: change arguments of create_user,!30DOC: Add short list-value example
Pipeline #14562 passed
...@@ -90,6 +90,7 @@ def is_reference(datatype): ...@@ -90,6 +90,7 @@ def is_reference(datatype):
else: else:
return True return True
def get_referenced_recordtype(datatype): def get_referenced_recordtype(datatype):
"""Return the record type of the referenced datatype. """Return the record type of the referenced datatype.
...@@ -119,7 +120,8 @@ def get_referenced_recordtype(datatype): ...@@ -119,7 +120,8 @@ def get_referenced_recordtype(datatype):
raise ValueError("list does not have a list datatype") raise ValueError("list does not have a list datatype")
if datatype == FILE: if datatype == FILE:
raise ValueError("FILE references are not considered references with a record type") raise ValueError(
"FILE references are not considered references with a record type")
return datatype return datatype
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment