mercurial/__init__.py
author Gregory Szorc <gregory.szorc@gmail.com>
Mon, 21 Feb 2022 10:56:31 -0700
changeset 48881 82f1c46cce5c
parent 48875 6000f5b25c9b
child 51863 f4733654f144
permissions -rw-r--r--
check-code: allow importing Python 3 modules Now that we no longer support Python 2, we should be able to import and use the Python 3 only modules in our code. So remove a lint banning this. Differential Revision: https://phab.mercurial-scm.org/D12284

# __init__.py - Startup and module loading logic for Mercurial.
#
# Copyright 2015 Gregory Szorc <gregory.szorc@gmail.com>
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.


# Allow 'from mercurial import demandimport' to keep working.
import hgdemandimport

demandimport = hgdemandimport