Commit 82151db1 authored by Rafael Monnerat's avatar Rafael Monnerat

Missing commit

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22571 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 766f5597
...@@ -116,24 +116,20 @@ for bt in bt_id_list:\n ...@@ -116,24 +116,20 @@ for bt in bt_id_list:\n
bt_title = bt_title, \n bt_title = bt_title, \n
object_state=object_state, \n object_state=object_state, \n
object_class=object_class, \n object_class=object_class, \n
choice_item_list=[[\'Install\', \'install\'], \n choice_item_list=[[\'Install\', \'install\']])\n
[\'Do Nothing\', \'nothing\']])\n
elif object_state == \'Modified\':\n elif object_state == \'Modified\':\n
if object_class in no_backup_list:\n if object_class in no_backup_list:\n
line.edit(object_id=object_id, \n line.edit(object_id=object_id, \n
bt_title = bt_title, \n bt_title = bt_title, \n
object_state=object_state, \n object_state=object_state, \n
object_class=object_class, \n object_class=object_class, \n
choice_item_list=[[\'Upgrade\', \'install\'], \n choice_item_list=[[\'Upgrade\', \'install\']])\n
[\'Keep Original\', \'nothing\']])\n
else:\n else:\n
line.edit(object_id=object_id, \n line.edit(object_id=object_id, \n
bt_title = bt_title, \n bt_title = bt_title, \n
object_state=object_state, \n object_state=object_state, \n
object_class=object_class, \n object_class=object_class, \n
choice_item_list=[[\'Backup And Upgrade\', \'backup\'], \n choice_item_list=[[\'Backup And Upgrade\', \'backup\']])\n
[\'Upgrade\', \'install\'], \n
[\'Keep Original\', \'nothing\']])\n
\n \n
elif object_state == \'Removed\':\n elif object_state == \'Removed\':\n
if object_class in no_backup_list:\n if object_class in no_backup_list:\n
...@@ -141,16 +137,13 @@ for bt in bt_id_list:\n ...@@ -141,16 +137,13 @@ for bt in bt_id_list:\n
bt_title = bt_title, \n bt_title = bt_title, \n
object_state=object_state, \n object_state=object_state, \n
object_class=object_class, \n object_class=object_class, \n
choice_item_list=[[\'Remove\', \'remove\'], \n choice_item_list=[[\'Remove\', \'remove\']])\n
[\'Keep Original\', \'nothing\']])\n
else:\n else:\n
line.edit(object_id=object_id, \n line.edit(object_id=object_id, \n
bt_title = bt_title, \n bt_title = bt_title, \n
object_state=object_state, \n object_state=object_state, \n
object_class=object_class, \n object_class=object_class, \n
choice_item_list=[[\'Backup And Remove\', \'save_and_remove\'], \n choice_item_list=[[\'Backup And Remove\', \'save_and_remove\']])\n
[\'Remove\', \'remove\'], \n
[\'Keep Original\', \'nothing\']])\n
line.setUid(\'new_%s\' % object_id)\n line.setUid(\'new_%s\' % object_id)\n
object_list.append(line)\n object_list.append(line)\n
i += 1 \n i += 1 \n
......
882 883
\ 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