Mercurial > hg-stable
changeset 35044:e68dd1909af3
py3: handle keyword arguments in hgext/releasenotes.py
Differential Revision: https://phab.mercurial-scm.org/D1322
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Mon, 23 Oct 2017 00:05:04 +0530 |
parents | 1a07f9187831 |
children | 3ebae3ec4664 |
files | hgext/releasenotes.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/releasenotes.py Mon Oct 23 00:04:47 2017 +0530 +++ b/hgext/releasenotes.py Mon Oct 23 00:05:04 2017 +0530 @@ -25,6 +25,7 @@ error, minirst, node, + pycompat, registrar, scmutil, util, @@ -570,6 +571,8 @@ admonitions along with their title. This also includes the custom admonitions (if any). """ + + opts = pycompat.byteskwargs(opts) sections = releasenotessections(ui, repo) listflag = opts.get('list')