def SplitMeta(meta):
  n = len(meta)
  if n % 2 == 1:
    raise ConfigurationError(
        '%r has an odd number of metacharacters' % meta)
  return meta[:n/2], meta[n/2:]
Split and validate metacharacters.
dataset/ETHPy150Open cloudbuilders/radioedit/jsontemplate.py/SplitMeta