Loading ccnode/handlers.py +3 −3 Original line number Diff line number Diff line Loading @@ -489,7 +489,7 @@ class NodeHandler(RpcHandler): # helper is available on the current VM if handler[0](sub, tag): if fnmatchcase(tag, pattern): debug('get_tags: processing tag `%s` with ' debug('sub_tags: processing tag `%s` with ' 'pattern `%s`' % (tag, pattern)) # get tags from helper htags = handler[0](sub, tag) Loading @@ -497,7 +497,7 @@ class NodeHandler(RpcHandler): # not to build the whole list. Maybe it's # too difficult and not worth implementing if tag in htags: debug('get_tags: found tag in helper ' debug('sub_tags: found tag in helper ' 'result with value `%s`' % htags[tag]) result[tag] = {} result[tag]['ttl'] = self.VM_TAG_MAP[tag][2] Loading @@ -506,7 +506,7 @@ class NodeHandler(RpcHandler): htags[tag]) break except Exception as e: debug('(%s) : %s' % (repr(e), e)) debug('sub_tags: `%s` --> `%s`' % (repr(e), e)) return result @pure Loading Loading
ccnode/handlers.py +3 −3 Original line number Diff line number Diff line Loading @@ -489,7 +489,7 @@ class NodeHandler(RpcHandler): # helper is available on the current VM if handler[0](sub, tag): if fnmatchcase(tag, pattern): debug('get_tags: processing tag `%s` with ' debug('sub_tags: processing tag `%s` with ' 'pattern `%s`' % (tag, pattern)) # get tags from helper htags = handler[0](sub, tag) Loading @@ -497,7 +497,7 @@ class NodeHandler(RpcHandler): # not to build the whole list. Maybe it's # too difficult and not worth implementing if tag in htags: debug('get_tags: found tag in helper ' debug('sub_tags: found tag in helper ' 'result with value `%s`' % htags[tag]) result[tag] = {} result[tag]['ttl'] = self.VM_TAG_MAP[tag][2] Loading @@ -506,7 +506,7 @@ class NodeHandler(RpcHandler): htags[tag]) break except Exception as e: debug('(%s) : %s' % (repr(e), e)) debug('sub_tags: `%s` --> `%s`' % (repr(e), e)) return result @pure Loading