# HG changeset patch # User timeless # Date 2016-03-02 21:33:55 # Node ID 27a9032374a7067c73166bb0166606eb34bba7f3 # Parent 96a7368a79b624a087fcc2bcdfe0e3eba467e2a9 schemas: use absolute_import diff --git a/hgext/schemes.py b/hgext/schemes.py --- a/hgext/schemes.py +++ b/hgext/schemes.py @@ -39,9 +39,18 @@ For convenience, the extension adds thes You can override a predefined scheme by defining a new scheme with the same name. """ +from __future__ import absolute_import -import os, re -from mercurial import extensions, hg, templater, util, error, cmdutil +import os +import re +from mercurial import ( + cmdutil, + error, + extensions, + hg, + templater, + util, +) from mercurial.i18n import _ cmdtable = {} diff --git a/tests/test-check-py3-compat.t b/tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t +++ b/tests/test-check-py3-compat.t @@ -60,7 +60,6 @@ hgext/rebase.py not using absolute_import hgext/record.py not using absolute_import hgext/relink.py not using absolute_import - hgext/schemes.py not using absolute_import hgext/share.py not using absolute_import hgext/transplant.py not using absolute_import hgext/win32mbcs.py not using absolute_import