Skip to content

Commit b0c051d

Browse files
Miklos Vajnagitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 69931b7 commit b0c051d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/hg-to-git/hg-to-git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"""
2121

2222
import os, os.path, sys
23-
import tempfile, popen2, pickle, getopt
23+
import tempfile, pickle, getopt
2424
import re
2525

2626
# Maps hg version -> git version

0 commit comments

Comments
 (0)