mirror of
https://github.com/scummvm/dockerized-bb.git
synced 2026-06-20 05:46:00 +00:00
BUILDBOT: Fix deprecations
This commit is contained in:
@@ -151,8 +151,8 @@ class DiscordStatusPush(ReporterBase):
|
||||
|
||||
yield super().reconfigService(generators=generators, **kwargs)
|
||||
|
||||
self._http = yield httpclientservice.HTTPClientService.getService(
|
||||
self.master, webhook_url,
|
||||
self._http = yield httpclientservice.HTTPSession(
|
||||
self.master.httpservice, webhook_url,
|
||||
debug=debug, verify=verify)
|
||||
|
||||
def _create_default_generators(self):
|
||||
|
||||
@@ -49,7 +49,10 @@ def get_application(
|
||||
daily_builds_dir, daily_builds_url, helpers,
|
||||
builds, platforms)
|
||||
|
||||
app = ConfiguredBottle(catchall=False, autojson=False)
|
||||
app = ConfiguredBottle()
|
||||
app.catchall = False
|
||||
# There seems to be no other way to disable autojson on Bottle v0.13
|
||||
app.uninstall(bottle.JSONPlugin)
|
||||
|
||||
app.helpers = helpers
|
||||
app.packaged_builds = packaged_builds
|
||||
|
||||
Reference in New Issue
Block a user