diff .editorconfig @ 35044:71e63fe6b1ab

py3: handle keyword arguments correctly in hgext/patchbomb.py The keys of keyword arguments must be str on Python 3 which is unicode. This patch make sure we pass keyword arguments with keys are str everywhere in this file and access the keys depending on whether they are bytes or str. This patch uses pycompat.{byteskwargs|strkwargs} and somewhere it also added r'' to prevent transformer from adding a b'' over there. Differential Revision: https://phab.mercurial-scm.org/D974
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 06 Oct 2017 05:47:56 +0530
parents d30fdd6d1bf7
children 1d6066336d7b
line wrap: on
line diff