Package Ganga :: Package Lib :: Package Root :: Module shared
[hide private]
[frames] | no frames]

Module shared

source code

Module for sharing code between the Runtime and Download handlers.

Functions [hide private]
 
findPythonVersion(rootsys)
Digs around in rootsys for config files and then greps the version of python used
source code
 
setEnvironment(key, value, update=False, environment=None)
Sets an environment variable.
source code
Variables [hide private]
  logger = Ganga.Utility.logging.getLogger()
  __package__ = 'Ganga.Lib.Root'
Function Details [hide private]

setEnvironment(key, value, update=False, environment=None)

source code 

Sets an environment variable. If update=True, it prepends it to the current value with os.pathsep as the seperator.