CMS 3D CMS Logo

Classes | Functions
ModulesProxy Namespace Reference

Classes

class  _ModuleProxy
 

Functions

def _setupProxies
 

Function Documentation

◆ _setupProxies()

def ModulesProxy._setupProxies (   fullName)
private

Definition at line 16 of file ModulesProxy.py.

References join().

16 def _setupProxies(fullName:str):
17  _cmssw_package_name='.'.join(fullName.split(sep)[-3:-1])
18  basename = fullName.split(sep)[-1]
19  pathname = fullName[:-1*len(basename)]
20  proxies = dict()
21  for filename in ( x for x in os.listdir(pathname) if (len(x) > 3 and x[-3:] == '.py' and x != basename and ((len(x) < 6) or (x[-6:] != 'cfi.py')))):
22  name = filename[:-3]
23  proxies[name] = _ModuleProxy(_cmssw_package_name, name)
24  return proxies
25 
static std::string join(char **cmd)
Definition: RemoteFile.cc:21