Commit 1d7367d
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>1 parent 0460dba commit 1d7367d
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
864 | 862 | | |
865 | 863 | | |
866 | 864 | | |
867 | | - | |
868 | | - | |
| 865 | + | |
| 866 | + | |
869 | 867 | | |
870 | 868 | | |
871 | 869 | | |
| |||
1662 | 1660 | | |
1663 | 1661 | | |
1664 | 1662 | | |
1665 | | - | |
| 1663 | + | |
1666 | 1664 | | |
1667 | 1665 | | |
1668 | 1666 | | |
| |||
0 commit comments