# HG changeset patch # User Anton Shestakov # Date 1550066165 -28800 # Node ID 51b0185a0e7b328ecbeda6b4d0cba5c95434e8a3 # Parent 8b3172c8f753b07e5ed6c71ca347c5e081f98782 evolve: remove unused StringIO import diff -r 8b3172c8f753 -r 51b0185a0e7b hgext3rd/evolve/__init__.py --- a/hgext3rd/evolve/__init__.py Wed Feb 13 21:39:10 2019 +0800 +++ b/hgext3rd/evolve/__init__.py Wed Feb 13 21:56:05 2019 +0800 @@ -257,14 +257,6 @@ import struct try: - import StringIO as io - StringIO = io.StringIO -except ImportError: - import io - StringIO = io.StringIO - - -try: from mercurial import registrar registrar.templatekeyword # new in hg-3.8 except ImportError: diff -r 8b3172c8f753 -r 51b0185a0e7b hgext3rd/evolve/obsdiscovery.py --- a/hgext3rd/evolve/obsdiscovery.py Wed Feb 13 21:39:10 2019 +0800 +++ b/hgext3rd/evolve/obsdiscovery.py Wed Feb 13 21:56:05 2019 +0800 @@ -15,13 +15,6 @@ from __future__ import absolute_import -try: - import StringIO as io - StringIO = io.StringIO -except ImportError: - import io - StringIO = io.StringIO - import hashlib import heapq import inspect