Commit Graph

4 Commits

Author SHA1 Message Date
Chris PeBenito
9648d013a2 Implement an enumeration for constraint rule type. 2016-09-03 16:44:13 -04:00
Chris PeBenito
da8a238ffc apol: Fix model headers so extra columns aren't added.
The section number (column header) is -1 when the section is hidden. The
defaultdict use would cause extra columns to be created since the column
count is based on the size of the headers object and -1 would add a new
entry.  Change headers to lists.
2016-06-08 07:26:32 -04:00
Chris PeBenito
61613cf3f4 apol: adjust models to handle invalid indices in data().
Infrequently data() is called with an invalid index and then apol crashes.
2016-04-21 10:07:12 -04:00
Chris PeBenito
27bc09c0e3 apol: Implement constraint tab
Closes #78
2016-04-05 13:37:55 -04:00