From 56690e11532e4200a8d54015303cccdea9892806 Mon Sep 17 00:00:00 2001 From: Anael Beutot Date: Fri, 18 May 2012 11:17:35 +0200 Subject: [PATCH] Fixed return value when subtags query fails. --- ccnode/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccnode/node.py b/ccnode/node.py index c6bd154..fdb81a9 100644 --- a/ccnode/node.py +++ b/ccnode/node.py @@ -213,7 +213,7 @@ class MainLoop(object): if sub_db is None: # FIXME should we also raise here ? logger.debug('Failed to find sub_id %s', sub_id) - return + return {} return get_tags(sub_db, tags, noresolve_tags) # End RPC handlers definitions -- GitLab