Mercurial > evolve
changeset 435:97d82fbd2c24
obsolete: clean up import
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Tue, 07 Aug 2012 14:34:25 +0200 |
parents | 9863e196cc65 |
children | 1e042eeb2d1a |
files | hgext/obsolete.py |
diffstat | 1 files changed, 2 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/obsolete.py Tue Aug 07 14:33:24 2012 +0200 +++ b/hgext/obsolete.py Tue Aug 07 14:34:25 2012 +0200 @@ -39,18 +39,13 @@ """ -import os, sys -try: - from cStringIO import StringIO -except ImportError: - from StringIO import StringIO +import sys from mercurial.i18n import _ import json import struct -from mercurial import util, base85 _pack = struct.pack _unpack = struct.unpack @@ -67,18 +62,13 @@ from mercurial import revset from mercurial import scmutil from mercurial import extensions -from mercurial import pushkey from mercurial import discovery from mercurial import error from mercurial import commands -from mercurial import changelog from mercurial import phases -from mercurial.node import hex, bin, short, nullid -from mercurial.lock import release -from mercurial import localrepo +from mercurial.node import bin, short, nullid from mercurial import cmdutil from mercurial import templatekw -from mercurial.localrepo import storecache # This extension hold the following code #