Esempio n. 1
0
def get_variable(name):
    """
    Returns variable value
     @return: str
    """
    return zen_resources.get_variable(name)
Esempio n. 2
0
def get_variable(name):
    """
    Returns variable value
     @return: str
    """
    return zen_resources.get_variable(name)
Esempio n. 3
0
 def _repl(m):
     if vars and m.group(1) in vars:
         return vars[m.group(1)]
     else:
         var = zen_resources.get_variable(m.group(1))
         return var if var is not None else m.group(0)
Esempio n. 4
0
 def _repl(m):
     if vars and m.group(1) in vars:
         return vars[m.group(1)]
     else:
         var = zen_resources.get_variable(m.group(1))
         return var if var is not None else m.group(0)