(self)
return self.exec_engine
get execution engine instance
get execution engine instance
get execution engine instance
def get_engine(self):
        """get execution engine instance"""
        xmode = self.get_mode()
        if xmode.startswith("P"):
            self.exec_engine = \
                PRootEngine(self.localrepo, self)
        elif xmode.startswith("F"):
            self.exec_engine = \
                FakechrootEngine(self.localrepo, self)
        elif xmode.startswith("R"):
            self.exec_engine = \
                RuncEngine(self.localrepo, self)
        elif xmode.startswith("S"):
            self.exec_engine = \
                SingularityEngine(self.localrepo, self)
        return self.exec_engine
def get_engine ( self ) : xmode = self . get_mode ( ) if xmode . startswith ( "P" ) : self . exec_engine = PRootEngine ( self . localrepo , self ) elif xmode . startswith ( "F" ) : self . exec_engine = FakechrootEngine ( self . localrepo , self ) elif xmode . startswith ( "R" ) : self . exec_engine = RuncEngine ( self . localrepo , self ) elif xmode . startswith ( "S" ) : self . exec_engine = SingularityEngine ( self . localrepo , self ) return self . exec_engine