diff options
author | Matthias Baumgartner <dev@igsor.net> | 2023-02-08 21:08:24 +0100 |
---|---|---|
committer | Matthias Baumgartner <dev@igsor.net> | 2023-02-08 21:08:24 +0100 |
commit | f31a0d005785d474a37ec769c1f7f5e27aa08a57 (patch) | |
tree | 784c0ca9311dc43017418ff59ea88a2ea9815f8c /bsfs/graph/result.py | |
parent | 64f3ac76a2f8d6b51380c06233accfcc19dca228 (diff) | |
download | bsfs-f31a0d005785d474a37ec769c1f7f5e27aa08a57.tar.gz bsfs-f31a0d005785d474a37ec769c1f7f5e27aa08a57.tar.bz2 bsfs-f31a0d005785d474a37ec769c1f7f5e27aa08a57.zip |
minor comments
Diffstat (limited to 'bsfs/graph/result.py')
-rw-r--r-- | bsfs/graph/result.py | 2 |
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: |