You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
268 B

def import_variables():
from calculate.variables.datavars import Variable, StringType, Calculate
Variable('vargetter', type=StringType,
source=Calculate(lambda chroot: '{} test'.format(chroot.value),
'main.chroot'))