remove print statements

This commit is contained in:
Tim Bentley 2009-05-30 19:44:16 +01:00
parent d0bcc06d35
commit e019e0f5d8
1 changed files with 4 additions and 4 deletions

View File

@ -202,7 +202,7 @@ class Renderer:
bboxes = [] bboxes = []
for line in lines: for line in lines:
bboxes.append(self._render_single_line(line, footer)) bboxes.append(self._render_single_line(line, footer))
print line, bboxes #print line, bboxes
numlines = len(lines) numlines = len(lines)
bottom = self._rect.bottom() bottom = self._rect.bottom()
@ -215,8 +215,8 @@ class Renderer:
by = 0 by = 0
for (x, y) in bboxes[startline:endline]: for (x, y) in bboxes[startline:endline]:
by += y by += y
print by #print by
print by , bottom #print by , bottom
if by > bottom: if by > bottom:
good=0 good=0
break break
@ -224,7 +224,7 @@ class Renderer:
endline = startline+ratio endline = startline+ratio
# if good == 1: # if good == 1:
# break # break
print "---------" #print "---------"
retval = [] retval = []
numlines_per_page = ratio numlines_per_page = ratio