Strip whitespace from ALL the things.

This commit is contained in:
Jimmy Zelinskie 2014-11-24 16:07:38 -05:00
parent f6dd8b0a4d
commit 716d7a737b
171 changed files with 807 additions and 807 deletions

View file

@ -24,7 +24,7 @@ def sendInvoice(invoice_id):
return
with app.app_context():
with app.app_context():
invoice_html = renderInvoiceToHtml(invoice, user)
send_invoice_email(user.email, invoice_html)
print 'Invoice sent to %s' % (user.email)

View file

@ -47,4 +47,4 @@ if __name__ == "__main__":
logging.basicConfig(level=logging.DEBUG)
logging.getLogger('boto').setLevel(logging.CRITICAL)
run_branchregex_migration()
run_branchregex_migration()

View file

@ -64,4 +64,4 @@ if __name__ == "__main__":
images = model.get_repository_images(args.namespace, args.repository)
for img in images:
migrate_image(img, location)
migrate_image(img, location)

View file

@ -16,4 +16,4 @@ if ';' in c_type:
c_type = c_type.split(';')[0]
build_dir = w._mime_processors[c_type](docker_resource)
print build_dir
print build_dir

View file

@ -23,7 +23,7 @@ def sendInvoice(invoice_id):
return
with app.app_context():
with app.app_context():
file_data = renderInvoiceToPdf(invoice, user)
with open('invoice.pdf', 'wb') as f:
f.write(file_data)