|
|
|
@ -21,7 +21,8 @@ import re
|
|
|
|
|
from calculate.lib.datavars import (Variable,VariableError,ReadonlyVariable,
|
|
|
|
|
ReadonlyTableVariable,FieldValue)
|
|
|
|
|
from calculate.lib.cl_template import iniParser
|
|
|
|
|
from calculate.lib.utils.files import readLinesFile,isMount,readFile, find
|
|
|
|
|
from calculate.lib.utils.files import (readLinesFile,isMount,readFile, find,
|
|
|
|
|
FindFileType)
|
|
|
|
|
from calculate.lib.utils.common import getValueFromCmdLine,cmpVersion
|
|
|
|
|
from calculate.lib.utils.portage import isPkgInstalled
|
|
|
|
|
from calculate.lib.variables.user import VariableUrLogin
|
|
|
|
@ -654,7 +655,8 @@ class VariableClClientSymlinks(ReadonlyVariable):
|
|
|
|
|
reSkip = re.compile("|".join(map(lambda x:x.replace("*",".*"),
|
|
|
|
|
skipFiles))).search
|
|
|
|
|
return filter(lambda x:not reSkip(x),
|
|
|
|
|
find(self.Get('ur_home_path'),onefilesystem=True,filetype='l'))
|
|
|
|
|
find(self.Get('ur_home_path'),onefilesystem=True,
|
|
|
|
|
filetype=FindFileType.SymbolicLink))
|
|
|
|
|
|
|
|
|
|
class VariableClClientNscdCache(Variable):
|
|
|
|
|
"""
|
|
|
|
|