Commit 1bcda4e7 authored by Julien Muchembled's avatar Julien Muchembled

style: dict() -> {} (or better)

parent 23d7bdd2
......@@ -678,7 +678,7 @@ for key, data in line_per_account.items():\n
final_balance_if_credit=max(-closing_balance, 0) or 0,)\n
\n
sort_key = (node_string_index, node_title, mirror_section_title)\n
analytic_dict = dict()\n
analytic_dict = {}\n
for analytic, uid in zip(group_analytic, analytic_key_list):\n
title = getAnalyticTitleFromUid(uid)\n
analytic_dict[analytic] = title\n
......@@ -727,7 +727,7 @@ def getAccountClass(account_relative_url):\n
return None # this account has no class on the current GAP \n
\n
new_line_list = []\n
account_per_class = dict()\n
account_per_class = {}\n
for brain in line_list:\n
account_per_class.setdefault(\n
getAccountClass(brain.node_relative_url), []).append(brain)\n
......
......@@ -59,11 +59,11 @@ request = portal.REQUEST\n
# cache the title in the request, it will be used by Movement_getProjectTitle\n
# and Movement_getFunctionTitle scripts\n
request.other[\'Movement_getProjectTitle.project_title_dict\'\n
] = project_title_dict = dict()\n
] = project_title_dict = {}\n
request.other[\'Movement_getFunctionTitle.function_title_dict\'\n
] = function_title_dict = dict()\n
] = function_title_dict = {}\n
request.other[\'Movement_getFundingTitle.funding_title_dict\'\n
] = funding_title_dict = dict()\n
] = funding_title_dict = {}\n
\n
analytic_column_list = ()\n
funding_item_list = context.AccountingTransactionLine_getFundingItemList()\n
......
......@@ -241,7 +241,7 @@ if mirror_section_category_list:\n
\n
report_section_list = []\n
\n
existing_section_dict = dict()\n
existing_section_dict = {}\n
\n
# group by node\n
# movements in the period\n
......
......@@ -150,7 +150,7 @@ for brain in portal.Base_zGetNotGroupedMovementList(\n
Movement_getExplanationTitle=\n
mvt.hasTitle() and mvt.getTitle() or transaction.getTitle())\n
\n
analytic_info = dict()\n
analytic_info = {}\n
for analytic_column, analytic_column_title in analytic_column_list:\n
if analytic_column == \'project\':\n
if is_source:\n
......
......@@ -58,7 +58,7 @@
portal = context.getPortalObject()\n
Base_translateString = portal.Base_translateString\n
\n
precision_cache = dict()\n
precision_cache = {}\n
def roundCurrency(value, resource_relative_url):\n
if resource_relative_url not in precision_cache:\n
qty_precision = portal.restrictedTraverse(\n
......
......@@ -105,7 +105,7 @@ else:\n
params=params)\n
\n
\n
account_reference_cache = dict()\n
account_reference_cache = {}\n
def getAccountReference(node):\n
try:\n
return account_reference_cache[node]\n
......@@ -122,7 +122,7 @@ def getTitle(document):\n
return document.getTranslatedTitle()\n
return \'\'\n
\n
bank_account_title_cache = dict()\n
bank_account_title_cache = {}\n
def getBankAccountTitle(bank_account):\n
try:\n
return bank_account_title_cache[bank_account]\n
......@@ -141,7 +141,7 @@ def getBankAccountTitle(bank_account):\n
bank_account_title_cache[bank_account] = value\n
return value\n
\n
accounting_currency_reference_cache = dict()\n
accounting_currency_reference_cache = {}\n
def getAccountingCurrencyReference(section_relative_url):\n
try:\n
return accounting_currency_reference_cache[section_relative_url]\n
......@@ -157,7 +157,7 @@ def getAccountingCurrencyReference(section_relative_url):\n
\n
portal_type = context.getPortalAccountingMovementTypeList()\n
\n
displayed_delivery_dict = dict()\n
displayed_delivery_dict = {}\n
for delivery in delivery_list:\n
if delivery.uid in displayed_delivery_dict: continue\n
displayed_delivery_dict[delivery.uid] = True\n
......
......@@ -146,7 +146,7 @@ if creation_date_range_min or creation_date_range_max:\n
if stat:\n
return context.countFolder(**params)\n
\n
select_dict = params.get(\'select_dict\') or dict()\n
select_dict = params.get(\'select_dict\') or {}\n
select_dict.update(dict(total_debit=None,\n
total_credit=None,\n
reference=None,\n
......
......@@ -71,7 +71,7 @@ grouping_query = ComplexQuery(\n
Query(grouping_date=at_date, range="min"),\n
operator="OR")\n
\n
account_number_memo = dict()\n
account_number_memo = {}\n
def getAccountNumber(account_url):\n
try:\n
return account_number_memo[account_url]\n
......@@ -80,7 +80,7 @@ def getAccountNumber(account_url):\n
portal.restrictedTraverse(account_url).Account_getGapId()\n
return account_number_memo[account_url]\n
\n
section_title_memo = dict()\n
section_title_memo = {}\n
def getSectionTitle(uid):\n
try:\n
return section_title_memo[uid]\n
......
......@@ -57,7 +57,7 @@ portal = context.getPortalObject()\n
\n
line_list = []\n
\n
extra_kw = dict()\n
extra_kw = {}\n
if payment:\n
extra_kw[\'payment\'] = payment\n
\n
......@@ -71,7 +71,7 @@ if project_uid:\n
else:\n
extra_kw[\'project_uid\'] = project_uid\n
\n
account_title_cache = dict()\n
account_title_cache = {}\n
def getAccountId(node_relative_url):\n
if node_relative_url not in account_title_cache:\n
title = portal.restrictedTraverse(node_relative_url).Account_getGapId(gap_root=gap_root)\n
......@@ -80,7 +80,7 @@ def getAccountId(node_relative_url):\n
\n
\n
# FIXME: this can be passed as node category to getMovementHistoryList\n
account_in_gap_root_cache = dict()\n
account_in_gap_root_cache = {}\n
def isAccountInGapRoot(node_relative_url):\n
if node_relative_url not in account_in_gap_root_cache:\n
is_in = portal.restrictedTraverse(node_relative_url).isMemberOf(gap_root)\n
......@@ -88,7 +88,7 @@ def isAccountInGapRoot(node_relative_url):\n
return account_in_gap_root_cache[node_relative_url]\n
\n
\n
displayed_transaction = dict()\n
displayed_transaction = {}\n
total_credit = 0\n
total_debit = 0\n
\n
......@@ -159,7 +159,7 @@ for brain in portal.portal_simulation.getMovementHistoryList(\n
date=date,\n
debit=debit,\n
credit=credit,)\n
analytic_info = dict()\n
analytic_info = {}\n
for analytic_column, analytic_column_title in analytic_column_list:\n
if analytic_column == \'project\':\n
analytic_info[\'project\'] = brain.Movement_getProjectTitle()\n
......
......@@ -79,7 +79,7 @@ original transaction currency. If currencies on this invoice and the related\n
payments are not consistent, a ValueError is raised.\n
"""\n
portal = context.getPortalObject()\n
total_payable_price_per_node_section = dict()\n
total_payable_price_per_node_section = {}\n
\n
if simulation_state is None:\n
state_list = [x[1] for x in context.ERP5Site_getWorkflowStateItemList(\n
......
......@@ -54,7 +54,7 @@
function_uid = context.function_uid\n
\n
title_dict = container.REQUEST.get(\n
\'Movement_getFunctionTitle.function_title_dict\') or dict()\n
\'Movement_getFunctionTitle.function_title_dict\') or {}\n
if function_uid in title_dict:\n
return title_dict[function_uid]\n
\n
......
......@@ -54,7 +54,7 @@
funding_uid = context.funding_uid\n
\n
title_dict = container.REQUEST.get(\n
\'Movement_getFundingTitle.funding_title_dict\') or dict()\n
\'Movement_getFundingTitle.funding_title_dict\') or {}\n
if funding_uid in title_dict:\n
return title_dict[funding_uid]\n
\n
......
......@@ -53,7 +53,7 @@
<value> <string>project_uid = context.project_uid\n
\n
title_dict = container.REQUEST.get(\n
\'Movement_getProjectTitle.project_title_dict\') or dict()\n
\'Movement_getProjectTitle.project_title_dict\') or {}\n
if project_uid in title_dict:\n
return title_dict[project_uid]\n
\n
......
......@@ -218,7 +218,7 @@ loop_dict = dict(\n
\t\tsub_prefix = 1,\n
\t\tend_prefix = \'a\',\n
\t\tschedule_index = \'A\',\n
\t\tschedules = dict()\n
\t\tschedules = {}\n
\t\t)\n
\n
def do_section(item):\n
......
......@@ -111,11 +111,11 @@ stool.setSelectionFor(\'entity_transaction_selection\', None)\n
stool.setSelectionFor(\'account_module_selection\', None)\n
\n
# set sort order on accounting module\n
stool.setSelectionParamsFor(\'accounting_selection\', dict()) # (this recreates selection)\n
stool.setSelectionParamsFor(\'accounting_selection\', {}) # (this recreates selection)\n
stool.setSelectionSortOrder(\'accounting_selection\', sort_on=((\'operation_date\', \'ascending\'),))\n
\n
# set sort order and columns on account module\n
stool.setSelectionParamsFor(\'account_module_selection\', dict()) # (this recreates selection)\n
stool.setSelectionParamsFor(\'account_module_selection\', {}) # (this recreates selection)\n
stool.setSelectionSortOrder(\'account_module_selection\', sort_on=((\'preferred_gap_id\', \'ascending\'),))\n
stool.setSelectionColumns(\'account_module_selection\',\n
[(\'preferred_gap_id\', \'GAP Number\'),\n
......
......@@ -76,7 +76,7 @@ if REQUEST is not None:\n
from DateTime import DateTime\n
now = DateTime()\n
\n
existing_group_set = dict()\n
existing_group_set = {}\n
for assignment in context.contentValues(portal_type=\'Assignment\'):\n
if assignment.getGroup() \\\n
and assignment.getValidationState() == \'open\' \\\n
......
......@@ -50,7 +50,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>kw = dict()\n
<value> <string>kw = {}\n
budget = context.getParentValue().getParentValue()\n
budget_model = budget.getSpecialiseValue(portal_type=\'Budget Model\')\n
if budget_model is not None:\n
......
......@@ -50,7 +50,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>search_kw = dict()\n
<value> <string>search_kw = {}\n
portal = context.getPortalObject()\n
financial_section_list = context.getVariationCategoryList(base_category_list=(\'financial_section\'))\n
for financial_section in financial_section_list:\n
......
......@@ -57,7 +57,7 @@ except KeyError:\n
\n
dependant_dimensions_dict = context.BudgetLine_getSummaryDimensionKeyDict()\n
\n
summary_key_dict = dict()\n
summary_key_dict = {}\n
\n
from Products.ERP5Type.Utils import cartesianProduct\n
# also add all cell coordinates in the dictionnary\n
......
......@@ -62,7 +62,7 @@ coordinates.\n
"""\n
# look on the budget model to see which base categories are used for non strict\n
# membership. We will only update summaries for thoses axis\n
non_strict_base_category_set = dict()\n
non_strict_base_category_set = {}\n
budget_model = context.getParentValue().getSpecialiseValue()\n
if budget_model is not None:\n
for budget_variation in budget_model.contentValues(\n
......@@ -87,7 +87,7 @@ def reversed(seq):\n
return seq\n
\n
# build a dict of dependant dimensions\n
dependant_dimensions_dict = dict()\n
dependant_dimensions_dict = {}\n
for bc in non_strict_base_category_set.keys():\n
vcl = reversed(context.getVariationCategoryList(base_category_list=(bc,)))\n
for vc in vcl:\n
......
......@@ -60,8 +60,8 @@ split_depth = 1\n
# Build a dict of title to display, based on the titles of corresponding\n
# budget variations, and a dict of indexes for sorting.\n
# Also build a list of line level variations, for which we only choose one value.\n
base_category_title_dict = dict()\n
base_category_int_index_dict = dict()\n
base_category_title_dict = {}\n
base_category_int_index_dict = {}\n
budget_line = container.REQUEST.get(\'here\')\n
line_level_variation_list = []\n
if budget_line is not None:\n
......
......@@ -157,7 +157,7 @@ for budget in budget_list:\n
\n
# To get the count of lines correct (for the print range)\n
if target_currency_title:\n
line_list.append(dict())\n
line_list.append({})\n
\n
for budget_line in budget.contentValues(sort_on=((\'int_index\', \'asc\'),)):\n
total_level_1_initial_budget = 0\n
......
......@@ -60,7 +60,7 @@ person_value_list = portal.portal_categories.restrictedTraverse(\n
checked_permission=\'View\')\n
\n
# for stat\n
total_time_per_resource = dict()\n
total_time_per_resource = {}\n
total_time = 0\n
\n
result_list = []\n
......@@ -76,7 +76,7 @@ presence_resource_uid_list = [inventory.resource_uid for inventory\n
\n
\n
for person in person_value_list:\n
result_dict = dict()\n
result_dict = {}\n
person_total = 0\n
\n
person_planned_time = person.getAvailableTime(\n
......
......@@ -56,7 +56,7 @@ translateString = context.Base_translateString \n
context.Base_edit(form_id=\'Person_viewAsWeb\')\n
\n
context.ERP5Site_redirect(\'%s/account\' % context.getWebSiteValue().absolute_url(), \\\n
keep_items={\'portal_status_message\': translateString("Your personal informations are updated.", mapping = dict())})\n
keep_items={\'portal_status_message\': translateString("Your personal informations are updated.", mapping={})})\n
</string> </value>
</item>
<item>
......
......@@ -200,7 +200,7 @@ else:\n
portal_status_message = "Please select an item."\n
\n
context.Base_redirect(\'SaleOrder_viewAsWeb\', \\\n
keep_items={\'portal_status_message\': translateString(portal_status_message, mapping = dict())})\n
keep_items={\'portal_status_message\': translateString(portal_status_message, mapping={})})\n
</string> </value>
</item>
<item>
......
......@@ -54,7 +54,7 @@
\n
if (context.getPortalType() != \'Web Site\'):\n
context.Base_redirect(\'\', keep_items={\n
\'portal_status_message\': translateString("You can only launch this script on a web site.", mapping = dict())\n
\'portal_status_message\': translateString("You can only launch this script on a web site.", mapping={})\n
})\n
\n
# creation the default sections\n
......@@ -94,7 +94,7 @@ checkout_section.setProperty(\'ecommerce_default_content\', True)\n
checkout_section.setProperty(\'ecommerce_product_list\', False)\n
\n
context.Base_redirect(\'\', keep_items={\n
\'portal_status_message\': translateString("Your web site is now an ecommerce plateform.", mapping = dict())\n
\'portal_status_message\': translateString("Your web site is now an ecommerce plateform.", mapping={})\n
})\n
</string> </value>
</item>
......
......@@ -59,7 +59,7 @@
<value> <string>from Products.ERP5Type.Cache import CachingMethod\n
\n
def getPortalTypeContentTranslationMapping():\n
result = dict()\n
result = {}\n
for type_information in context.getPortalObject().portal_types.listTypeInfo():\n
content_translation_domain_property_name_list =\\\n
type_information.getContentTranslationDomainPropertyNameList()\n
......
......@@ -52,7 +52,7 @@
<key> <string>_body</string> </key>
<value> <string>if context.getParentValue().portal_type == \'Credential Request\':\n
return {\'Address\':dict(organisation_default_address=\'Organisation Default Address\')}\n
return dict()\n
return {}\n
</string> </value>
</item>
<item>
......
......@@ -68,7 +68,7 @@ past_title=portal.Base_translateString("past")\n
line_list = []\n
\n
# Prepare the parameters to filter\n
query_dict = dict()\n
query_dict = {}\n
if request_start_date:\n
query_dict[\'delivery.start_date\'] = dict(range=\'min\', query=request_start_date)\n
if request_stop_date:\n
......
......@@ -68,7 +68,7 @@ past_state_list = portal.Event_getPastStateList()\n
line_list = []\n
\n
# Prepare the parameters to filter\n
query_dict = dict()\n
query_dict = {}\n
if request_start_date:\n
query_dict[\'delivery.start_date\'] = dict(range=\'min\', query=request_start_date)\n
if request_stop_date:\n
......
......@@ -71,7 +71,7 @@ for ticket_type in ticket_type_list:\n
total_count=0\n
\n
# Prepare the parameters to filter\n
query_dict = dict()\n
query_dict = {}\n
if request_start_date:\n
query_dict[\'delivery.start_date\'] = dict(range=\'min\', query=request_start_date)\n
if request_stop_date:\n
......
......@@ -53,7 +53,7 @@
<value> <string>from Products.ERP5Form.Report import ReportSection\n
result=[]\n
request = context.REQUEST\n
params = dict()\n
params = {}\n
\n
selection_columns = [(\'validation_state\', \'State\')]\n
#Add dynamicaly ticket type columns to the form\n
......
......@@ -95,7 +95,7 @@ def createReturnLine(uid,list):\n
return len(list)-1\n
\n
# Prepare the parameters to filter\n
query_dict = dict()\n
query_dict = {}\n
if request_start_date:\n
query_dict[\'delivery.start_date\'] = dict(range=\'min\', query=request_start_date)\n
if request_stop_date:\n
......
......@@ -61,7 +61,7 @@ notification_message = portal.portal_notifications.getDocumentValue(\n
reference=reference)\n
\n
if substitution_method_parameter_dict is None:\n
substitution_method_parameter_dict=dict()\n
substitution_method_parameter_dict = {}\n
# Notification method will receive the current event under "event_value" key.\n
# This way notification method can return properties from recipient or follow up of the event.\n
substitution_method_parameter_dict.setdefault(\'event_value\', context)\n
......
......@@ -67,7 +67,7 @@ past_state_list = portal.Event_getPastStateList()\n
line_list = []\n
\n
# Prepare the parameters to filter\n
query_dict = dict()\n
query_dict = {}\n
if request_start_date:\n
query_dict[\'delivery.start_date\'] = dict(range=\'min\', query=request_start_date)\n
if request_stop_date:\n
......
......@@ -65,7 +65,7 @@ past_state_list = portal.Event_getPastStateList()\n
line_list = []\n
\n
# Prepare the parameters to filter\n
query_dict = dict()\n
query_dict = {}\n
if request_start_date:\n
query_dict[\'delivery.start_date\'] = dict(range=\'min\', query=request_start_date)\n
if request_stop_date:\n
......
......@@ -67,7 +67,7 @@ past_state_list = portal.Event_getPastStateList()\n
line_list = []\n
\n
# Prepare the parameters to filter\n
query_dict = dict()\n
query_dict = {}\n
if request_start_date:\n
query_dict[\'delivery.start_date\'] = dict(range=\'min\', query=request_start_date)\n
if request_stop_date:\n
......
......@@ -65,7 +65,7 @@ past_state_list = portal.Event_getPastStateList()\n
line_list = []\n
\n
# Prepare the parameters to filter\n
query_dict = dict()\n
query_dict = {}\n
if request_start_date:\n
query_dict[\'delivery.start_date\'] = dict(range=\'min\', query=request_start_date)\n
if request_stop_date:\n
......
......@@ -67,7 +67,7 @@ past_state_list = portal.Event_getPastStateList()\n
line_list = []\n
\n
# Prepare the parameters to filter\n
query_dict = dict()\n
query_dict = {}\n
if request_start_date:\n
query_dict[\'delivery.start_date\'] = dict(range=\'min\', query=request_start_date)\n
if request_stop_date:\n
......
......@@ -66,7 +66,7 @@ past_state_list = portal.Event_getPastStateList()\n
line_list = []\n
\n
# Prepare the parameters to filter\n
query_dict = dict()\n
query_dict = {}\n
if request_start_date:\n
query_dict[\'delivery.start_date\'] = dict(range=\'min\', query=request_start_date)\n
if request_stop_date:\n
......
......@@ -59,7 +59,7 @@ if getattr(send_method, \'meta_type\', None) == \'Script (Python)\':\n
parameter_list = send_method.ZScriptHTML_tryParams()\n
\n
# Turn the SafeMapping from keyword arguments into a dict.\n
kwargs = dict()\n
kwargs = {}\n
for key in parameter_list:\n
state_change_arg = state_change[\'kwargs\'].get(key)\n
if state_change_arg:\n
......
......@@ -76,7 +76,7 @@ user_name = person_value.getReference()\n
\n
# save request parameters\n
# XXX we exclude some reserved names in a very ad hoc way\n
request_form = dict()\n
request_form = {}\n
for k, v in request.form.items():\n
if k not in (\'TraversalRequestNameStack\', \'AUTHENTICATED_USER\', \'URL\',\n
\'SERVER_URL\', \'AUTHENTICATION_PATH\', \'USER_PREF_LANGUAGES\', \'PARENTS\',\n
......@@ -98,7 +98,7 @@ if activity_context == portal:\n
activity_context = portal.portal_simulation\n
\n
\n
params = dict()\n
params = {}\n
form = getattr(context, deferred_style_dialog_method)\n
if hasattr(form, \'ZScriptHTML_tryParams\'):\n
# Some actions are wrapped by a script.\n
......
......@@ -76,7 +76,7 @@ skin_name = request[\'deferred_portal_skin\']\n
\n
# save request parameters (after calling the report_method which may tweak the\n
# request). XXX we exclude some reserved names in a very ad hoc way\n
request_other = dict()\n
request_other = {}\n
for k, v in request.items():\n
if k not in (\'TraversalRequestNameStack\', \'AUTHENTICATED_USER\', \'URL\',\n
\'SERVER_URL\', \'AUTHENTICATION_PATH\', \'USER_PREF_LANGUAGES\', \'PARENTS\',\n
......
......@@ -68,7 +68,7 @@ else:\n
raise ValueError, \'form meta_type (%r) unknown\' %(form.meta_type,)\n
\n
# Rebuild request_other as report section can have modify request content\n
request_other = dict()\n
request_other = {}\n
for k, v in request.items():\n
if k not in (\'TraversalRequestNameStack\', \'AUTHENTICATED_USER\', \'URL\',\n
\'SERVER_URL\', \'AUTHENTICATION_PATH\', \'USER_PREF_LANGUAGES\', \'PARENTS\',\n
......
......@@ -79,7 +79,7 @@ for line in listbox:\n
# selected_dict contains the list of selected fields that needs\n
# to change of template. The user can select or unselect any field\n
# in the preview_listbox\n
selected_dict = dict()\n
selected_dict = {}\n
if preview_listbox is not None:\n
for line in preview_listbox:\n
if line[\'selected\']:\n
......
......@@ -50,7 +50,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>prevision = dict()\n
<value> <string>prevision = {}\n
\n
if context.getDestinationAccount():\n
prevision[\'destination\'] = context.getDestinationAccount()\n
......
......@@ -60,7 +60,7 @@ total_quantity = 0.0\n
\n
item_portal_type = kw.get(\'type\')\n
\n
item_property_dict = dict()\n
item_property_dict = {}\n
\n
# if the formbox for extra item properties is enabled, use it.\n
dialog = getattr(context, dialog_id)\n
......
......@@ -69,7 +69,7 @@ for sub_object in sub_object_list:\n
if delete_id_list:\n
context.manage_delObjects(ids=delete_id_list)\n
\n
sub_object_by_model = dict()\n
sub_object_by_model = {}\n
for sub_object in sub_object_list:\n
sub_object_by_model.setdefault(\n
sub_object.getParentValue(), []).append(sub_object.getId())\n
......
......@@ -87,7 +87,7 @@ requirements_items.sort(key=lambda x: x[\'id\'])\n
\n
clean_requirements = {}\n
clean_requirements_key_list = [] # use a list for keys, to keep ordering\n
description_dict = dict()\n
description_dict = {}\n
has_1st_level_requirement = False\n
has_2nd_level_requirement = False\n
new_1st_level_requirement = None\n
......
......@@ -7,7 +7,7 @@ def parseTestReport(text):
parser.feed(text)
root = parser.close()
table = root.xpath('//table[@id="SELENIUM-TEST"]')[0]
report = dict()
report = {}
header = table[0][0]
report['status'] = header.attrib['class'].find('passed') > -1
report['name'] = header[0].text
......
......@@ -82,7 +82,7 @@ def URLGetter(section_title,\n
total_price=total_price,)\n
return getListItemUrl\n
\n
total = dict()\n
total = {}\n
\n
base_contribution_uid_dict = {}\n
for base_contribution in base_contribution_list:\n
......
......@@ -85,7 +85,7 @@ for a_line in a.searchFolder(portal_type=\'Test Result Line\'):\n
if title in b_title_dict:\n
# do some diffwork\n
b_line = b[b_title_dict[title]]\n
difference_dict = dict()\n
difference_dict = {}\n
for prop in compared_prop_list:\n
diff = b_line.getProperty(prop) - a_line.getProperty(prop)\n
if diff != 0:\n
......
......@@ -67,7 +67,7 @@ if a.getSimulationState() != "stopped" or b.getSimulationState() != "stopped":\n
compared_prop_list = (\'all_tests\', \'errors\', \'failures\', \'skips\')\n
\n
\n
d = dict()\n
d = {}\n
for prop in compared_prop_list:\n
d[prop] = b.getProperty(prop) - a.getProperty(prop)\n
\n
......
......@@ -76,9 +76,7 @@ test_suite = context.getPortalObject().test_suite_module.searchFolder(title=cont