Commit cd3d2456 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* fix a typo of a variable name.

* exceptions must be classes or instances, not str for recent python.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31494 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 71e53d33
No related merge requests found
......@@ -110,7 +110,7 @@ class SolverProcess(XMLObject, ActiveProcess):
if other_solver_type == solver_type:
continue
if solver.conflictsWithSolver(types_tool[other_solver_type]):
raise "Solver %s conflicts with solver %s on movement %s" % (solver_type, other_solver, movement_url)
raise ValueError, "Solver %s conflicts with solver %s on movement %s" % (solver_type, other_solver_type, movement_url)
# Make sure multiple configuration are possible
try:
# Solver key contains only those properties which differentiate
......
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