Changeset 1d6ce447424871449e38d81501b4dacf48d06fcc
- Timestamp:
- 01/02/08 00:18:51
(1 year ago)
- Author:
- William McBrine <wmcbrine@gmail.com>
- git-committer:
- William McBrine <wmcbrine@gmail.com> 1199254731 -0500
- git-parent:
[42efc8c11f60880185380057ba338fe42db79eb9]
- git-author:
- William McBrine <wmcbrine@gmail.com> 1199254731 -0500
- Message:
Better handling of ItemCount? == 0.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r42efc8c |
r1d6ce44 |
|
| 97 | 97 | |
|---|
| 98 | 98 | #foward count |
|---|
| 99 | | if count > 0: |
|---|
| | 99 | if count >= 0: |
|---|
| 100 | 100 | files = files[index:index + count] |
|---|
| 101 | 101 | #backwards count |
|---|
| 102 | | elif count < 0: |
|---|
| | 102 | else: |
|---|
| 103 | 103 | if index + count < 0: |
|---|
| 104 | 104 | count = -index |
|---|