Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def process_index_statement(index_statement):
m = re.match(add_index_pattern, index_statement)
meta = m.groupdict()
print meta
keys = []
for k in meta["keys"].strip().split(","):
keys.append(k.strip())
return AddIndex(meta["tablename"], keys)