author | Reilly Grant <reillyeon@qotw.net> | |
Thu, 10 Sep 2009 07:02:38 +0000 (00:02 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 10 Sep 2009 18:22:22 +0000 (11:22 -0700) | ||
commit | 1d7367dce7b55cbb1804c4863c56bd20ab12bda8 | |
tree | 03dca9c48bb270285fe800ea92a887f1080fe195 | tree | snapshot |
parent | 0460dba4b4c47ac0b11ccb85b319792280422bc9 | commit | diff |
git-p4: Avoid modules deprecated in Python 2.6.
The popen2, sha and sets modules are deprecated in Python 2.6 (sha in
Python 2.5). Both popen2 and sha are not actually used in git-p4.
Replace usage of sets.Set with the builtin set object.
The built-in set object was added in Python 2.4 and is already used in
other parts of this script, so this dependency is nothing new.
Signed-off-by: Reilly Grant <reillyeon@qotw.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The popen2, sha and sets modules are deprecated in Python 2.6 (sha in
Python 2.5). Both popen2 and sha are not actually used in git-p4.
Replace usage of sets.Set with the builtin set object.
The built-in set object was added in Python 2.4 and is already used in
other parts of this script, so this dependency is nothing new.
Signed-off-by: Reilly Grant <reillyeon@qotw.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4 | diff | blob | history |