Commit 56bf9975 authored by Łukasz Nowak's avatar Łukasz Nowak

Rename to avoid conflict.

parent 599ef0b2
...@@ -86,7 +86,7 @@ else:\n ...@@ -86,7 +86,7 @@ else:\n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>Computer_getSoftwareReleaseState</string> </value> <value> <string>Computer_getSoftwareReleaseRequestedState</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -52,8 +52,8 @@ ...@@ -52,8 +52,8 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>from Products.ZSQLCatalog.SQLCatalog import Query, ComplexQuery\n <value> <string>from Products.ZSQLCatalog.SQLCatalog import Query, ComplexQuery\n
computer = context\n computer = context\n
\n
portal = context.getPortalObject()\n portal = context.getPortalObject()\n
script.log(state_list)\n
if len(state_list) == 1:\n if len(state_list) == 1:\n
state_string = "= \'%s\'" % state_list[0]\n state_string = "= \'%s\'" % state_list[0]\n
else:\n else:\n
......
...@@ -94,6 +94,7 @@ ...@@ -94,6 +94,7 @@
<string>listbox_image</string> <string>listbox_image</string>
<string>listbox_parent_state</string> <string>listbox_parent_state</string>
<string>listbox_software_release</string> <string>listbox_software_release</string>
<string>listbox_installation_state</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -108,6 +108,14 @@ ...@@ -108,6 +108,14 @@
<string>url_string</string> <string>url_string</string>
<string>URL</string> <string>URL</string>
</tuple> </tuple>
<tuple>
<string>installation_state</string>
<string>Installation State</string>
</tuple>
<tuple>
<string>usage</string>
<string>Usage</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
...@@ -157,6 +165,14 @@ ...@@ -157,6 +165,14 @@
<string>image</string> <string>image</string>
<string></string> <string></string>
</tuple> </tuple>
<tuple>
<string>installation_state</string>
<string></string>
</tuple>
<tuple>
<string>usage</string>
<string></string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -83,6 +83,7 @@ if offset >= SQL_WINDOW_SIZE:\n ...@@ -83,6 +83,7 @@ if offset >= SQL_WINDOW_SIZE:\n
else:\n else:\n
limit = (0, SQL_WINDOW_SIZE)\n limit = (0, SQL_WINDOW_SIZE)\n
\n \n
script.log(query_kw)\n
for computer_partition_candidate in context.portal_catalog(\n for computer_partition_candidate in context.portal_catalog(\n
limit=limit, **query_kw):\n limit=limit, **query_kw):\n
computer_partition_candidate = computer_partition_candidate.getObject() \n computer_partition_candidate = computer_partition_candidate.getObject() \n
......
419 420
\ No newline at end of file \ No newline at end of file
...@@ -1014,7 +1014,7 @@ class SlapTool(BaseTool): ...@@ -1014,7 +1014,7 @@ class SlapTool(BaseTool):
software_release=software_release_url_string, software_release=software_release_url_string,
computer_guid=computer_reference) computer_guid=computer_reference)
software_release_response._requested_state = \ software_release_response._requested_state = \
computer_document.Computer_getSoftwareReleaseState( computer_document.Computer_getSoftwareReleaseRequestedState(
software_release_url_string) software_release_url_string)
software_release_list.append(software_release_response) software_release_list.append(software_release_response)
return software_release_list return software_release_list
......
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