def with_prefix_resource(self, path):
        ret = []
        for key, value in self.tree.iteritems():
            if path.startswith(key):
                ret.append(value)

        if 0 > len(ret):
            return ret
        raise KeyError
dataset/ETHPy150Open Tanganelli/CoAPthon/coapthon/utils.py/Tree.with_prefix_resource/swapped operands of `>`