From 87fd4e60b812f673964909b9b5891a18e2246260 Mon Sep 17 00:00:00 2001 From: florian <f.spreckelsen@inidscale.com> Date: Tue, 5 Oct 2021 13:14:18 +0200 Subject: [PATCH] STY: autopep8'd --- src/caosdb/common/datatype.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/caosdb/common/datatype.py b/src/caosdb/common/datatype.py index 3822c749..03ff6d02 100644 --- a/src/caosdb/common/datatype.py +++ b/src/caosdb/common/datatype.py @@ -90,6 +90,7 @@ def is_reference(datatype): else: return True + def get_referenced_recordtype(datatype): """Return the record type of the referenced datatype. @@ -119,7 +120,8 @@ def get_referenced_recordtype(datatype): raise ValueError("list does not have a list datatype") 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 -- GitLab