code: def _setBatchSystemEnvVars(self):
          
          for envDict in (self._jobStore.getEnv(), self.config.environment):
              for k, v in iteritems(envDict):
                  self._batchSystem.setEnv(k, v)
docs: Sets the environment variables required by the job store and those passed on command line.