Pau Espin Pedrol has posted comments on this change. ( https://gerrit.osmocom.org/11934 )
Change subject: ctrl2cgi: explicitly ignore arguments to lambda function ...................................................................... Patch Set 2: Code-Review+1 (1 comment) https://gerrit.osmocom.org/#/c/11934/2/scripts/ctrl2cgi.py File scripts/ctrl2cgi.py: https://gerrit.osmocom.org/#/c/11934/2/scripts/ctrl2cgi.py@111 PS2, Line 111: method = getattr(self, 'handle_' + t_type.replace('-', ''), lambda *_: "Unhandled %s trap" % t_type) lol no idea if that works, I guess you looked it up somehwere. -- To view, visit https://gerrit.osmocom.org/11934 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I44035323b70f04eb8f5dc12123cb708f53eba188 Gerrit-Change-Number: 11934 Gerrit-PatchSet: 2 Gerrit-Owner: Max <[email protected]> Gerrit-Reviewer: Jenkins Builder (1000002) Gerrit-Reviewer: Max <[email protected]> Gerrit-Reviewer: Pau Espin Pedrol <[email protected]> Gerrit-Comment-Date: Mon, 26 Nov 2018 13:44:29 +0000 Gerrit-HasComments: Yes Gerrit-HasLabels: Yes
