~ubuntu-branches/debian/sid/pyx3/sid

« back to all changes in this revision

Viewing changes to pyx/epsfile.py

  • Committer: Package Import Robot
  • Author(s): Stuart Prescott
  • Date: 2015-05-08 00:00:33 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20150508000033-fp4theggupemhx24
Tags: 0.14-1
* New upstream release.
  - revert upstream change to sphinx conf.py to permit building with older
    python3-sphinx.
* Bump standards version to 3.9.6 (no changes required).
* Add SVG and PDF to package descriptions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
159
159
                    raise IOError("invalid number of bounding box values")
160
160
                return bbox.bbox_pt(*list(map(int, values)))
161
161
        elif (line.rstrip() == b"%%EndComments" or
162
 
              (len(line) >= 2 and line[0] != "%" and line[1] not in string.whitespace)):
 
162
              (len(line) >= 2 and chr(line[0]) != "%" and chr(line[1]) not in string.whitespace)):
163
163
            # implicit end of comments section
164
164
            break
165
165
    if not bboxatend: