Gaudi Framework, version v24r2

Home   Generated: Wed Dec 4 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
EnvConfig.Variable.PathNormalizer Class Reference
Inheritance diagram for EnvConfig.Variable.PathNormalizer:
Inheritance graph
[legend]
Collaboration diagram for EnvConfig.Variable.PathNormalizer:
Collaboration graph
[legend]

Public Member Functions

def process
 
- Public Member Functions inherited from EnvConfig.Variable.VariableProcessor
def __init__
 
def isTarget
 
def process
 
def __call__
 

Detailed Description

Call os.path.normpath for all the entries of the variable.

Definition at line 98 of file Variable.py.

Member Function Documentation

def EnvConfig.Variable.PathNormalizer.process (   self,
  variable,
  value 
)

Definition at line 102 of file Variable.py.

103  def process(self, variable, value):
104  if isinstance(value, str):
105  if '://' not in value: # this might be a URL
106  value = normpath(value)
107  else:
108  value = [normpath(v) for v in value if v]
109  return value

The documentation for this class was generated from the following file:
Generated at Wed Dec 4 2013 14:33:20 for Gaudi Framework, version v24r2 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004