Show More
@@ -1877,7 +1877,7 b' class queue(object):' | |||||
1877 | index of the first patch past the last applied one. |
|
1877 | index of the first patch past the last applied one. | |
1878 | """ |
|
1878 | """ | |
1879 | end = 0 |
|
1879 | end = 0 | |
1880 | def next(start): |
|
1880 | def nextpatch(start): | |
1881 | if all_patches or start >= len(self.series): |
|
1881 | if all_patches or start >= len(self.series): | |
1882 | return start |
|
1882 | return start | |
1883 | for i in xrange(start, len(self.series)): |
|
1883 | for i in xrange(start, len(self.series)): | |
@@ -1892,8 +1892,8 b' class queue(object):' | |||||
1892 | end = self.series.index(p) |
|
1892 | end = self.series.index(p) | |
1893 | except ValueError: |
|
1893 | except ValueError: | |
1894 | return 0 |
|
1894 | return 0 | |
1895 | return next(end + 1) |
|
1895 | return nextpatch(end + 1) | |
1896 | return next(end) |
|
1896 | return nextpatch(end) | |
1897 |
|
1897 | |||
1898 | def appliedname(self, index): |
|
1898 | def appliedname(self, index): | |
1899 | pname = self.applied[index].name |
|
1899 | pname = self.applied[index].name |
General Comments 0
You need to be logged in to leave comments.
Login now