# HG changeset patch # User Pierre-Yves David # Date 1520990467 -3600 # Node ID 63bba357a1b417ab60e1b6aac9bbfc5af59b431f # Parent 7fa887cb1a6e5d9f8a415d86288f48aee82de1f2 compat: pass all hgweb dispatch argument to the orig function This make use compatible with whatever changes on this side. diff -r 7fa887cb1a6e -r 63bba357a1b4 hgext3rd/evolve/obsexchange.py --- a/hgext3rd/evolve/obsexchange.py Wed Mar 07 00:00:02 2018 -0500 +++ b/hgext3rd/evolve/obsexchange.py Wed Mar 14 02:21:07 2018 +0100 @@ -243,9 +243,9 @@ protohandler = orig(repo, req, query) olddispatch = protohandler['dispatch'] - def newdispatch(): + def newdispatch(*args, **kwargs): try: - return olddispatch() + return olddispatch(*args, **kwargs) except hgwebcommon.ErrorResponse as inst: if protohandler['cmd'] != 'listkeys': raise