def _replaceEnv(self, match):
        """ Internally used method to replace found matches of _RE_ENV regular
            expression with corresponding environment variable.
        """
        var = match.group('var')

        try:
            return os.environ[var]
        except __HOLE__:
            raise EnvironmentVariableNotFound('Can not find environment '
                                              'variable: {0}'.format(var))
dataset/ETHPy150Open rapyuta/rce/rce-core/rce/monitor/common.py/ArgumentMixin._replaceEnv