Commit 78a7ac50 authored by Łukasz Nowak's avatar Łukasz Nowak

Preamble and whitespace cleanup.

parent 2ed1bb80
############################################################################## ##############################################################################
# #
# Copyright (c) 2002, 2005 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2002-2012 Nexedi SA and Contributors. All Rights Reserved.
# Sebastien Robin <seb@nexedi.com> # Sebastien Robin <seb@nexedi.com>
# Jean-Paul Smets <jp@nexedi.com> # Jean-Paul Smets <jp@nexedi.com>
# Romain Courteaud <romain@nexedi.com> # Romain Courteaud <romain@nexedi.com>
# #
# WARNING: This program as such is intended to be used by professional # WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential # programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs # consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial # End users who are looking for a ready-to-use solution with commercial
# garantees and support are strongly adviced to contract a Free Software # guarantees and support are strongly advised to contract a Free Software
# Service Company # Service Company
# #
# This program is Free Software; you can redistribute it and/or # This program is Free Software; you can redistribute it and/or
...@@ -55,7 +55,7 @@ class PropertyTypeValidity(Constraint): ...@@ -55,7 +55,7 @@ class PropertyTypeValidity(Constraint):
'multiple selection': (list, tuple), 'multiple selection': (list, tuple),
'date': (DateTime, ), 'date': (DateTime, ),
} }
# Properties of type eg. "object" can hold anything # Properties of type eg. "object" can hold anything
_permissive_type_list = ('object', 'data') _permissive_type_list = ('object', 'data')
...@@ -144,5 +144,4 @@ class PropertyTypeValidity(Constraint): ...@@ -144,5 +144,4 @@ class PropertyTypeValidity(Constraint):
self._getMessage('message_local_property_migrated'), dict( self._getMessage('message_local_property_migrated'), dict(
property_id=property_id))) property_id=property_id)))
return error_list return error_list
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