/+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: 2009-03-15 04:46:13 UTC
  • Revision ID: git-v1:f2cc79f0db08252c20746a0fd6c659cb981aac2d
Fixed a deprecation warning

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(len(args) / 2):
 
461
        for a in xrange(int(len(args) / 2)):
462
462
            col = args[a * 2]
463
463
            offset = args[a * 2 + 1]
464
464
            _check_colour(col)