Commit f21544be authored by Romain Courteaud's avatar Romain Courteaud

Catch exception raised when when not free computer partition is found

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41223 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9d78735a
...@@ -64,7 +64,10 @@ for sale_order_line in portal.portal_catalog(\n ...@@ -64,7 +64,10 @@ for sale_order_line in portal.portal_catalog(\n
sale_order.edit(\n sale_order.edit(\n
source_section=\'organisation_module/vifib_internet\',\n source_section=\'organisation_module/vifib_internet\',\n
source=\'organisation_module/vifib_internet\')\n source=\'organisation_module/vifib_internet\')\n
sale_order.confirm()\n try:\n
sale_order.confirm()\n
except ValueError:\n
continue\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -108,6 +111,7 @@ for sale_order_line in portal.portal_catalog(\n ...@@ -108,6 +111,7 @@ for sale_order_line in portal.portal_catalog(\n
<string>_getiter_</string> <string>_getiter_</string>
<string>sale_order_line</string> <string>sale_order_line</string>
<string>sale_order</string> <string>sale_order</string>
<string>ValueError</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
295 296
\ No newline at end of file \ 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