findmissing: cloudsql_interface: Fix list of SHAs in SQL query

Unfortunately, a single element in a tuple creates unwanted output in

>>> l=['a']
>>> tuple(l)

That means we can not use str(tuple(l)) to create a list of SHAs
for the SQL query since SQL doesn't like the trailing ','.
Go back to the clumsy method using .join().

TEST=Run findmissing with single SHA as argument

Change-Id: I26c80e924bf98d6f08f52da2704133bef396fa86
Reviewed-by: Curtis Malainey <>
Commit-Queue: Guenter Roeck <>
Tested-by: Guenter Roeck <>
1 file changed