def get_config_setting(self, service_name):
      service_name = service_name.replace('-', '')
      setting = self.git.get_config_setting(self.dir, "http.%s" % service_name)
      if service_name == 'uploadpack':
        return setting != 'false'
      else:
        return setting == 'true'
dataset/ETHPy150Open douban/gpack/ghttp.py/GHTTPServer.get_config_setting/original