Changeset 139:cd7658cb90eb
- Timestamp:
-
12/20/10 17:49:57
(5 years ago)
- Author:
- Daniil Alexeyevsky <me.dendik@тАж>
- Branch:
- default
- Message:
-
Added rule.number to aid snake debugging.
-
File:
-
Legend:
- Unmodified
- Added
- Removed
-
r129
|
r139
|
€а |
64 | 64 | assert line == '', "Rules must be separated by empty lines"€а |
65 | 65 | self.rules.append(Rule(self).load(file))€а |
€а | 66 | for number, rule in enumerate(self.rules):€а |
€а | 67 | rule.number = number€а |
66 | 68 | €а |
67 | 69 | def fill (self):€а |