Пример #1
0
 def __init__(self, mem, exec_opts, splitter):
   self.mem = mem  # for $HOME, $1, etc.
   self.exec_opts = exec_opts  # for nounset
   self.splitter = splitter
   self.globber = glob_.Globber(exec_opts)
   # NOTE: Executor also instantiates one.
   self.arith_ev = expr_eval.ArithEvaluator(mem, exec_opts, self)
Пример #2
0
    def __init__(self, mem, exec_opts, part_ev):
        self.mem = mem
        self.exec_opts = exec_opts

        self.part_ev = part_ev
        self.globber = glob_.Globber(exec_opts)