vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Tue May 29 17:50:30 2018 +0200| [82c0e8b1aa83c34df2c883bc28fd04a0f8747bf6] | committer: Hugo Beauzée-Luyssen
extras: breakpad: Treat 20x and 30x codes as success > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=82c0e8b1aa83c34df2c883bc28fd04a0f8747bf6 --- extras/breakpad/symb_upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/breakpad/symb_upload.py b/extras/breakpad/symb_upload.py index 31c633bbef..cd57911435 100755 --- a/extras/breakpad/symb_upload.py +++ b/extras/breakpad/symb_upload.py @@ -160,7 +160,7 @@ class HTTPOutputStore(OutputStore): def store(self, dump: typing.io.TextIO, meta): post_args = {**meta, **self.extra_args} r = requests.post(self.url, post_args, files={"symfile": dump}) - if r.status_code != requests.codes.ok: + if not r.ok: logging.error("Unable to perform request, ret {}".format(r.status_code)) r.raise_for_status() _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
