Commits

Francois Dion  committed 9e0101c

pep8 compliance

  • Participants
  • Parent commits b09297e

Comments (0)

Files changed (1)

File webpy/mailing/mailpdf.py

     count += 1
     output = 'result{0}.pdf'.format(str(count))
     pdf = pisa.CreatePDF(
-              cStringIO.StringIO(res),
-              file(output, "wb"))
-    
+        cStringIO.StringIO(res),
+        file(output, "wb")
+    )
+
     if not pdf.err:
         # we could also use web.sendmail to send the pdf
         # storing email addresses in the database
         pass
     else:
         # do something on error
-        pass        
+        pass