/+junk/pygooglechart-py3k

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/pygooglechart-py3k

« back to all changes in this revision

Viewing changes to pygooglechart.py

  • Committer: gak
  • Date: 2008-09-11 23:52:02 UTC
  • Revision ID: git-v1:1f3559184c106bcd2ec18a65cd3f7f8c06beca53
 - Few fixes for python 3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
458
458
        assert(angle >= 0 and angle <= 90)
459
459
        assert(len(args) % 2 == 0)
460
460
        args = list(args)  # args is probably a tuple and we need to mutate
461
 
        for a in xrange(int(len(args) / 2)):
 
461
        for a in xrange(len(args) / 2):
462
462
            col = args[a * 2]
463
463
            offset = args[a * 2 + 1]
464
464
            _check_colour(col)