hg-to-git: don't import the unused popen2 module

Importing the popen2 module in Python-2.6 results in the
"DeprecationWarning: The popen2 module is deprecated.  Use the
subprocess module." message. The module itself isn't used in fact, so
just removing it solves the problem.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Miklos Vajna 2009-08-03 18:41:34 +02:00 committed by Junio C Hamano
parent 69931b7183
commit b0c051d1a0

View file

@ -20,7 +20,7 @@
""" """
import os, os.path, sys import os, os.path, sys
import tempfile, popen2, pickle, getopt import tempfile, pickle, getopt
import re import re
# Maps hg version -> git version # Maps hg version -> git version