Mercurial > boomslang
diff tools/rect_drawer.py @ 538:d1b86d5849a0
More pep8 cleanups
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Sat, 11 Feb 2012 12:15:31 +0200 |
parents | 5b9f371c2bb8 |
children | 53cc4049fb30 |
line wrap: on
line diff
--- a/tools/rect_drawer.py Sat Feb 11 12:10:58 2012 +0200 +++ b/tools/rect_drawer.py Sat Feb 11 12:15:31 2012 +0200 @@ -471,8 +471,8 @@ # Find current interacts in this thing cur_interact = cand.current_interact j = cand.interacts.values().index(cur_interact) - if j + 1< len(cand.interacts): - next_name = cand.interacts.keys()[j+1] + if j + 1 < len(cand.interacts): + next_name = cand.interacts.keys()[j + 1] else: next_name = cand.interacts.keys()[0] if cand.interacts[next_name] != cur_interact: