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

Moved interface declaration after property sheets.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30609 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f18ad53b
...@@ -51,9 +51,6 @@ class FloatDivergenceTester(Predicate): ...@@ -51,9 +51,6 @@ class FloatDivergenceTester(Predicate):
security = ClassSecurityInfo() security = ClassSecurityInfo()
security.declareObjectProtected(Permissions.AccessContentsInformation) security.declareObjectProtected(Permissions.AccessContentsInformation)
# Declarative interfaces
zope.interface.implements( interfaces.IDivergenceTester, )
# Declarative properties # Declarative properties
property_sheets = ( PropertySheet.Base property_sheets = ( PropertySheet.Base
, PropertySheet.XMLObject , PropertySheet.XMLObject
...@@ -63,6 +60,9 @@ class FloatDivergenceTester(Predicate): ...@@ -63,6 +60,9 @@ class FloatDivergenceTester(Predicate):
, PropertySheet.SolverSelection , PropertySheet.SolverSelection
) )
# Declarative interfaces
zope.interface.implements( interfaces.IDivergenceTester, )
def test(self, simulation_movement): def test(self, simulation_movement):
""" """
Tests if simulation_movement is divergent. Returns False (0) Tests if simulation_movement is divergent. Returns False (0)
......
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