# HG changeset patch # User Manuel Jacob # Date 2020-06-15 01:09:55 # Node ID 4888adfb623568adb2a39d00ae117e73752de618 # Parent 170f8a43b5b8702b6177fedeb2d2002d0940b4c8 py3: unbyteify arguments to warnings.filterwarnings() This fixes a crash when trying to import the convert extension on Python 3. diff --git a/hgext/convert/subversion.py b/hgext/convert/subversion.py --- a/hgext/convert/subversion.py +++ b/hgext/convert/subversion.py @@ -55,7 +55,7 @@ try: 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