Commit fae40a69 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Performance improvement comment.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30613 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e9e8c843
# -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
# Copyright (c) 2006 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2006 Nexedi SARL and Contributors. All Rights Reserved.
...@@ -77,6 +78,8 @@ class QuantityDivergenceTester(PropertyDivergenceTester): ...@@ -77,6 +78,8 @@ class QuantityDivergenceTester(PropertyDivergenceTester):
decision_title=repr(d_quantity), decision_title=repr(d_quantity),
prevision_title=repr(quantity),) prevision_title=repr(quantity),)
# XXX - JPS - it would be much better not to create the message
# if we do not later use it (by isDivergent)
message = DivergenceMessage(object_relative_url= delivery.getRelativeUrl(), message = DivergenceMessage(object_relative_url= delivery.getRelativeUrl(),
divergence_scope='quantity', divergence_scope='quantity',
simulation_movement = simulation_movement, simulation_movement = simulation_movement,
......
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