aboutsummaryrefslogtreecommitdiffstats
path: root/bsfs/graph/result.py
diff options
context:
space:
mode:
Diffstat (limited to 'bsfs/graph/result.py')
-rw-r--r--bsfs/graph/result.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsfs/graph/result.py b/bsfs/graph/result.py
index 00607f4..31822f1 100644
--- a/bsfs/graph/result.py
+++ b/bsfs/graph/result.py
@@ -109,10 +109,12 @@ def to_dict_view(
# FIXME: Combine multiple Nodes instances into one?
# convert defaultdict to ordinary dict
+ # pylint: disable=too-many-boolean-expressions
if not node and not path and not value \
and len(unique_paths) > 0 and one_node and one_path \
and len(data) == 0:
return default
+ # pylint: enable=too-many-boolean-expressions
if not node and not path:
return data
if node ^ path: