def get_tokens(line):
  """tokenize an Epanet line (i.e. split words; stopping when ; encountered)"""
  tokens=list()
  words=line.split()
  for word in words:
    if word[:1] == ';':
      break
    else:
      tokens.append(word)
  
  return tokens