| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

RootIOSvc::__init__ Namespace Reference


Classes

class  Configure

Functions

def wash_streams

Variables

list __all__ = ['RootIOSvcConf','Configure']

Function Documentation

def RootIOSvc::__init__::wash_streams (   stream  ) 

Definition at line 5 of file __init__.py.

00005                         :
00006     'Assure that all "root:" URLs have ?mkpath=1 appended'
00007     ret = {}
00008     def appender(fname,end='?mkpath=1',scheme='root:'):
00009         'Append to fname the given "end" string if it is URL of given scheme and lacks it. Return fname'
00010         if scheme != fname[:len(scheme)]: return fname
00011         if end == fname[-len(end):]: return fname
00012         return fname + '?mkpath=1'
00013                            
00014     for name,flist in stream.iteritems():
00015         ret[name] = map(appender,flist)
00016         continue
00017     return ret
00018 
00019 
class Configure:


Variable Documentation

list RootIOSvc::__init__::__all__ = ['RootIOSvcConf','Configure'] [static]

Definition at line 3 of file __init__.py.

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:18:22 2011 for RootIOSvc by doxygen 1.4.7