Commit 31a2c23c authored by Romain Courteaud's avatar Romain Courteaud Committed by Łukasz Nowak

Select only partitions.

There are subobjects which do not provide validation state, which can endup in
acquisition of dangerous methods.
parent e10c6ea3
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
\n \n
# Getting existing partitions\n # Getting existing partitions\n
existing_partition_dict = {}\n existing_partition_dict = {}\n
for c in context.contentValues():\n for c in context.contentValues(portal_type="Computer Partition"):\n
existing_partition_dict[c.getReference()] = c\n existing_partition_dict[c.getReference()] = c\n
\n \n
# update computer data\n # update computer data\n
......
791 792
\ 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