def addEnvPath(env, name, value):
 try:
  oldval = env[name]
  if (not oldval.endswith(';')):
   oldval = (oldval + ';')
 except KeyError:
  oldval = ''
 if (not value.endswith(';')):
  value = (value + ';')
 env[name] = (oldval + value)

def addEnvPath ( env , name , value ) : try : oldval = env [ name ] if ( not oldval . endswith ( ';' ) ) : oldval = ( oldval + ';' ) except KeyError : oldval = '' if ( not value . endswith ( ';' ) ) : value = ( value + ';' ) env [ name ] = ( oldval + value )
concat a path for this name .