Commit daebc856 authored by Antoine Catton's avatar Antoine Catton

Remove trailing spaces.

parent fcc365c5
......@@ -74,7 +74,7 @@ if is_slave == True:\n
else:\n
software_instance_portal_type = "Software Instance"\n
\n
tag = "%s_%s_inProgress" % (person.getUid(), \n
tag = "%s_%s_inProgress" % (person.getUid(),\n
software_title)\n
\n
# Check if it already exists\n
......@@ -104,7 +104,7 @@ if (request_software_instance is None):\n
else:\n
\n
setup_service_relative_url = portal.portal_preferences.getPreferredInstanceSetupResource()\n
\n
\n
software_instance = portal.getDefaultModule(portal_type=software_instance_portal_type).newContent(\n
portal_type=software_instance_portal_type,\n
source_reference=software_type,\n
......@@ -124,7 +124,7 @@ if (request_software_instance is None):\n
if state == \'started\':\n
software_instance.startRequested()\n
elif state == \'stopped\':\n
software_instance.stopRequested() \n
software_instance.stopRequested()\n
\n
software_release_document = context.portal_catalog.getResultValue(\n
portal_type=\'Software Release\',\n
......@@ -156,18 +156,18 @@ if (request_software_instance is None):\n
# does this order have a client-specific Open Order\n
open_order = portal.portal_catalog.getResultValue(\n
default_destination_section_uid=person.getUid(),\n
portal_type="Open Sale Order",\t \t \n
portal_type="Open Sale Order",\n
validation_state="validated")\n
if open_order is None:\n
person_slap_interface_state = person.getSlapState()\n
if person_slap_interface_state == \'open_order_created\':\n
open_order_url = context.portal_workflow.getInfoFor(\n
ob=person, name=\'open_order_url\', \n
ob=person, name=\'open_order_url\',\n
wf_id=\'person_slap_interface_workflow\')\n
open_order = portal.restrictedTraverse(open_order_url)\n
else:\n
raise ValueError(\'Person has no open order created\')\n
\n
\n
open_order.newContent(\n
portal_type="Open Sale Order Line",\n
title=software_title,\n
......
446
\ No newline at end of file
447
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment