Functions | |
def | digest_path (path) |
def | find_and_change (keys, var, alt=digest_path) |
def | get_all_keys (var) |
Variables | |
_file = pfnInPath(path_to_check) | |
env_var = part[1:].replace('{', '').replace('}', '') | |
path_d = os.path.join(*path_d_s) | |
list | path_d_s = [] |
path_s = path.split("://")[1].split(os.sep) | |
path_to_check = os.path.join(*path_d_s[:placeholderIdx[0]]) | |
list | placeholderIdx = [] |
string | protocol = "" |
def findAndChange.digest_path | ( | path | ) |
Definition at line 5 of file findAndChange.py.
def findAndChange.find_and_change | ( | keys, | |
var, | |||
alt = digest_path |
|||
) |
Definition at line 86 of file findAndChange.py.
References get_all_keys().
def findAndChange.get_all_keys | ( | var | ) |
|
private |
Definition at line 57 of file findAndChange.py.
Referenced by HcalLutManager.create_lut_loader(), XMLLUTLoader.createLoader(), and L1GtVhdlTemplateFile.insert().
findAndChange.env_var = part[1:].replace('{', '').replace('}', '') |
Definition at line 32 of file findAndChange.py.
findAndChange.path_d = os.path.join(*path_d_s) |
Definition at line 43 of file findAndChange.py.
list findAndChange.path_d_s = [] |
Definition at line 27 of file findAndChange.py.
findAndChange.path_s = path.split("://")[1].split(os.sep) |
Definition at line 23 of file findAndChange.py.
findAndChange.path_to_check = os.path.join(*path_d_s[:placeholderIdx[0]]) |
Definition at line 45 of file findAndChange.py.
list findAndChange.placeholderIdx = [] |
Definition at line 28 of file findAndChange.py.
string findAndChange.protocol = "" |
Ensure that everything is done for path to exist Arguments: - path: String that can be both directory and file Return: - general: environmental variables are expanded - directory: is checked to exist - file: is checked to exist with backup directory being searched in cms-data
Definition at line 20 of file findAndChange.py.
Referenced by edm::FileLocator.applyRules(), edm::storage::StorageFactory.check(), cond::persistency.getConnectionParams(), edm::storage::StorageFactory.getMaker(), edm::FileLocator.init(), edm::storage::StorageFactory.open(), cond::persistency.parseConnectionString(), edm::FileLocator.parseRule(), edm::FileLocator.parseRuleTrivialCatalog(), and edm::storage::StorageFactory.stagein().