mirror of
https://github.com/git/git
synced 2024-11-05 18:59:29 +00:00
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:
parent
69931b7183
commit
b0c051d1a0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue