All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EnvConfig Namespace Reference

Namespaces

namespace  _runtests
 
namespace  Control
 
namespace  TestEnvOps
 
namespace  TestXMLOps
 
namespace  Variable
 
namespace  xmlModule
 

Classes

class  EnvError
 
class  Script
 

Functions

def splitNameValue
 

Variables

string __author__ "Marco Clemencic <marco.clemencic@cern.ch>"
 
list __all__ []
 
list path ['.']
 

Function Documentation

def EnvConfig.splitNameValue (   name_value)
split the "NAME=VALUE" string into the tuple ("NAME", "VALUE")
replacing '[:]' with os.pathsep in VALUE

Definition at line 27 of file __init__.py.

27 
28 def splitNameValue(name_value):
29  """split the "NAME=VALUE" string into the tuple ("NAME", "VALUE")
30  replacing '[:]' with os.pathsep in VALUE"""
31  if '=' not in name_value:
32  raise EnvError("Invalid variable argument '%s'." % name_value)
33  n, v = name_value.split('=', 1)
34  return n, v.replace('[:]', os.pathsep)

Variable Documentation

list EnvConfig.__all__ []

Definition at line 12 of file __init__.py.

string EnvConfig.__author__ "Marco Clemencic <marco.clemencic@cern.ch>"

Definition at line 1 of file __init__.py.

list EnvConfig.path ['.']

Definition at line 15 of file __init__.py.