Implement indexing into Apache Druid #1

Closed
m wants to merge 263 commits from druid into master
1 changed files with 5 additions and 1 deletions
Showing only changes of commit 9780a2dfc8 - Show all commits

View File

@ -276,7 +276,11 @@ def joinSingle(net, channel):
:return: relay number that joined the channel :return: relay number that joined the channel
:rtype: int :rtype: int
""" """
eca = emptyChanAllocate(net, [channel]) if "," in channel:
channels = channel.split(",")
eca = emptyChanAllocate(net, channels)
else:
eca = emptyChanAllocate(net, [channel])
if not eca: if not eca:
return False return False
if not len(eca.keys()) == 1: if not len(eca.keys()) == 1: