diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2009-08-03 18:41:34 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-08-04 15:20:45 -0700 |
commit | b0c051d1a0939ed0013d359065b3afaebe3a717f (patch) | |
tree | 79df9cdf96328e844d0c463507dbcc5c7818abb9 /contrib/hg-to-git | |
parent | send-email: remove debug trace (diff) | |
download | tgif-b0c051d1a0939ed0013d359065b3afaebe3a717f.tar.xz |
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>
Diffstat (limited to 'contrib/hg-to-git')
-rwxr-xr-x | contrib/hg-to-git/hg-to-git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/hg-to-git/hg-to-git.py b/contrib/hg-to-git/hg-to-git.py index 7b03204ed1..2a6839d81e 100755 --- a/contrib/hg-to-git/hg-to-git.py +++ b/contrib/hg-to-git/hg-to-git.py @@ -20,7 +20,7 @@ """ import os, os.path, sys -import tempfile, popen2, pickle, getopt +import tempfile, pickle, getopt import re # Maps hg version -> git version |