hgext/releasenotes.py
changeset 35003 e68dd1909af3
parent 34813 288fad8c55f9
child 36768 658ed9c7442b
--- 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')