From 212d0feda27a1bb50edf252d60b9920ac0e72746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Wed, 10 Jun 2009 08:23:13 +0000 Subject: [PATCH] change __implements__ to be a tuple git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27483 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/Amount.py | 2 +- product/ERP5/Document/BankAccount.py | 2 +- product/ERP5/Document/Coordinate.py | 2 +- product/ERP5/Document/GeographicAddress.py | 2 +- product/ERP5/Document/Path.py | 2 +- product/ERP5/Document/Predicate.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/product/ERP5/Document/Amount.py b/product/ERP5/Document/Amount.py index 7352ca3f06..f74466cdb2 100644 --- a/product/ERP5/Document/Amount.py +++ b/product/ERP5/Document/Amount.py @@ -61,7 +61,7 @@ class Amount(Base, Variated): security.declareObjectProtected(Permissions.AccessContentsInformation) # Declarative interfaces - __implements__ = (interfaces.IVariated) + __implements__ = (interfaces.IVariated,) property_sheets = ( PropertySheet.Base , PropertySheet.SimpleItem diff --git a/product/ERP5/Document/BankAccount.py b/product/ERP5/Document/BankAccount.py index 5af02ae565..1817d55080 100644 --- a/product/ERP5/Document/BankAccount.py +++ b/product/ERP5/Document/BankAccount.py @@ -68,7 +68,7 @@ class BankAccount(Folder, Coordinate, MetaNode): ) # Declarative interfaces - __implements__ = ( interfaces.ICoordinate ) + __implements__ = ( interfaces.ICoordinate, ) security.declareProtected(Permissions.AccessContentsInformation, 'getReference') diff --git a/product/ERP5/Document/Coordinate.py b/product/ERP5/Document/Coordinate.py index 52e4b2226c..2797376d74 100644 --- a/product/ERP5/Document/Coordinate.py +++ b/product/ERP5/Document/Coordinate.py @@ -80,7 +80,7 @@ class Coordinate(Base): isRADContent = 1 # Declarative interface - __implements__ = (interfaces.ICoordinate) + __implements__ = (interfaces.ICoordinate, ) # Declarative security (replaces __ac_permissions__) security = ClassSecurityInfo() diff --git a/product/ERP5/Document/GeographicAddress.py b/product/ERP5/Document/GeographicAddress.py index 88ea32de76..b9bb15a401 100644 --- a/product/ERP5/Document/GeographicAddress.py +++ b/product/ERP5/Document/GeographicAddress.py @@ -65,7 +65,7 @@ class GeographicAddress(Coordinate, Base): ) # Declarative interfaces - __implements__ = ( interfaces.ICoordinate ) + __implements__ = ( interfaces.ICoordinate, ) security.declareProtected(Permissions.AccessContentsInformation, 'asText') def asText(self): diff --git a/product/ERP5/Document/Path.py b/product/ERP5/Document/Path.py index aad0e06f82..64e06da0b1 100644 --- a/product/ERP5/Document/Path.py +++ b/product/ERP5/Document/Path.py @@ -58,7 +58,7 @@ class Path(MappedValue): security.declareObjectProtected(Permissions.AccessContentsInformation) # Declarative interfaces - __implements__ = ( interfaces.IPredicate ) + __implements__ = ( interfaces.IPredicate, ) # Declarative properties property_sheets = ( PropertySheet.Base diff --git a/product/ERP5/Document/Predicate.py b/product/ERP5/Document/Predicate.py index 554d1a887a..5d14692b69 100644 --- a/product/ERP5/Document/Predicate.py +++ b/product/ERP5/Document/Predicate.py @@ -81,7 +81,7 @@ class Predicate(XMLObject, Folder): ) # Declarative interfaces - __implements__ = ( interfaces.IPredicate ) + __implements__ = ( interfaces.IPredicate, ) security.declareProtected( Permissions.AccessContentsInformation, 'test' ) def test(self, context, tested_base_category_list=None, -- 2.30.9