Mercurial > public > mercurial-scm > hg
comparison contrib/debugshell.py @ 48875:6000f5b25c9b
py2: remove simple from __future__ statements
These were needed for Python 2 support. Now that our linter no longer
mandates these, we can start deleting them.
Differential Revision: https://phab.mercurial-scm.org/D12254
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 03 Mar 2022 17:34:00 +0100 |
parents | 86e4daa2d54c |
children |
comparison
equal
deleted
inserted
replaced
48874:af0b21d5a930 | 48875:6000f5b25c9b |
---|---|
1 # debugshell extension | 1 # debugshell extension |
2 """a python shell with repo, changelog & manifest objects""" | 2 """a python shell with repo, changelog & manifest objects""" |
3 | 3 |
4 from __future__ import absolute_import | |
5 import code | 4 import code |
6 import mercurial | 5 import mercurial |
7 import sys | 6 import sys |
8 from mercurial import ( | 7 from mercurial import ( |
9 demandimport, | 8 demandimport, |