Mercurial > hg
changeset 44963:4888adfb6235 stable
py3: unbyteify arguments to warnings.filterwarnings()
This fixes a crash when trying to import the convert extension on Python 3.
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Mon, 15 Jun 2020 03:09:55 +0200 |
parents | 170f8a43b5b8 |
children | d96d8bbbedb1 |
files | hgext/convert/subversion.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/subversion.py Sat Jun 06 19:15:11 2020 +0800 +++ b/hgext/convert/subversion.py Mon Jun 15 03:09:55 2020 +0200 @@ -55,7 +55,7 @@ import warnings warnings.filterwarnings( - b'ignore', module=b'svn.core', category=DeprecationWarning + 'ignore', module='svn.core', category=DeprecationWarning ) svn.core.SubversionException # trigger import to catch error