commandsession/commandsession.py
def check_call(self, cmd):
        """Fake the interface of subprocess.call()."""
        ret, _ = self._exec(cmd)
        if not ret == 0:
            raise CommandError(self)

        return ret
def check_call(self, cmd):
        """Fake the interface of subprocess.call()."""
        ret, _ = self._exec(cmd)
        if not ret == 0:
            raise CommandError(self)

        return ret
def check_call ( self , cmd ) : ret , _ = self . _exec ( cmd ) if not ret == 0 : raise CommandError ( self ) return ret
Fake the interface of subprocess.call().
Fake the interface of subprocess . call () .