* src/docgen/PdfDoc.py (make_color): Remove the first occurence --
was defined twice; (left_print): Remove print statement. svn: r2081
This commit is contained in:
@ -475,7 +475,6 @@ class PdfDoc(BaseDoc.BaseDoc):
|
||||
start_x = x
|
||||
|
||||
for text in lines:
|
||||
print text, start_x, start_y
|
||||
s = String(start_x,
|
||||
start_y,
|
||||
str(text),
|
||||
@ -486,9 +485,6 @@ class PdfDoc(BaseDoc.BaseDoc):
|
||||
self.drawing.add(s)
|
||||
start_y = start_y - size*1.2
|
||||
|
||||
def make_color(c):
|
||||
return Color(float(c[0])/255.0, float(c[1])/255.0, float(c[2])/255.0)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Convert an RGB color tulple to a Color instance
|
||||
|
Reference in New Issue
Block a user