commit | 1d7367dce7b55cbb1804c4863c56bd20ab12bda8 | [log] [tgz] |
---|---|---|
author | Reilly Grant <reillyeon@qotw.net> | Thu Sep 10 00:02:38 2009 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Thu Sep 10 11:22:22 2009 -0700 |
tree | 03dca9c48bb270285fe800ea92a887f1080fe195 | |
parent | 0460dba4b4c47ac0b11ccb85b319792280422bc9 [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>