def windows_friendly_colon_split(config_string):
 if Platform.is_win32():
  return COLON_NON_WIN_PATH.split(config_string)
 else:
  return config_string.split(':')

def windows_friendly_colon_split ( config_string ) : if Platform . is_win32 ( ) : return COLON_NON_WIN_PATH . split ( config_string ) else : return config_string . split ( ':' )
perform a split by : on the config_string without splitting on the start of windows path .