alex.gaynor created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers.
REPOSITORY rHG Mercurial BRANCH py3k-stuff (bookmark) on default (branch) REVISION DETAIL https://phab.mercurial-scm.org/D482 AFFECTED FILES mercurial/bundle2.py CHANGE DETAILS diff --git a/mercurial/bundle2.py b/mercurial/bundle2.py --- a/mercurial/bundle2.py +++ b/mercurial/bundle2.py @@ -587,7 +587,7 @@ """add a stream level parameter""" if not name: raise ValueError('empty parameter name') - if name[0] not in string.letters: + if name[0] not in pycompat.bytestr(string.ascii_letters): raise ValueError('non letter first character: %r' % name) self._params.append((name, value)) @@ -765,7 +765,7 @@ """ if not name: raise ValueError('empty parameter name') - if name[0] not in string.letters: + if name[0] not in pycompat.bytestr(string.ascii_letters): raise ValueError('non letter first character: %r' % name) try: handler = b2streamparamsmap[name.lower()] To: alex.gaynor, durin42, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel