Changeset 3081 for WAeUP_SRP/base/skins
- Timestamp:
- 1 Feb 2008, 09:50:23 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_pins/search_pins.py
r3076 r3081 119 119 cols = 6 120 120 rows,rest = divmod(len(batches),cols) 121 bis = 0 121 122 for r in range(rows): 122 123 von = r*cols 123 l += batches[von:von+cols], 124 bis = von + cols 125 l += batches[von:bis], 124 126 if rest: 125 von = r*cols + cols127 von = bis 126 128 l += batches[von:von+rest], 127 129 info['batches'] = l
Note: See TracChangeset for help on using the changeset viewer.