Changeset 925448a in rtems-tools


Ignore:
Timestamp:
May 5, 2019, 12:46:46 AM (2 weeks ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Parents:
53dd5e6
git-author:
Chris Johns <chrisj@…> (05/05/19 00:46:46)
git-committer:
Chris Johns <chrisj@…> (05/05/19 00:48:49)
Message:

rtemstoolkit: columns are only ints.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemstoolkit/textbox.py

    r53dd5e6 r925448a  
    6262
    6363def even_columns(cols, width = 80):
    64     per_col = width / cols
     64    per_col = int(width / cols)
    6565    columns = [per_col for c in range(0, cols)]
    6666    for remainder in range(0, int(width - (per_col * cols))):
Note: See TracChangeset for help on using the changeset viewer.