diff --git a/organize/README.txt b/organize/README.txt index e41506f..e05d308 100644 --- a/organize/README.txt +++ b/organize/README.txt @@ -1,6 +1,8 @@ Organizations: Persons, Institutions, Addresses... ================================================== +($Id$) + Let's start with a Person: >>> from cybertools.organize.party import Person diff --git a/typology/README.txt b/typology/README.txt index 53f55a6..8bf6d9d 100644 --- a/typology/README.txt +++ b/typology/README.txt @@ -13,7 +13,7 @@ object data. >>> from cybertools.typology.interfaces import IType, ITypeManager -Let's start with the Person class from the cybertools.contact package - +Let's start with the Person class from the cybertools.organize package - we will then apply dynamic typing to Person objects: >>> from cybertools.organize.interfaces import IPerson @@ -53,14 +53,14 @@ We can now look what the type is telling us about the persons: >>> john_type.title u'Adult' >>> john_type.token - 'contact.person.agegroup.adult' + 'organize.person.agegroup.adult' >>> david_type.token - 'contact.person.agegroup.adult' + 'organize.person.agegroup.adult' >>> carla_type.token - 'contact.person.agegroup.child' + 'organize.person.agegroup.child' >>> carla_type.tokenForSearch - 'contact.person.agegroup.child' + 'organize.person.agegroup.child' >>> carla_type.qualifiers is None True >>> carla_type.typeInterface is None diff --git a/typology/example/person.py b/typology/example/person.py index d882cbb..3dd78d9 100644 --- a/typology/example/person.py +++ b/typology/example/person.py @@ -18,7 +18,7 @@ """ Example classes for the cybertools.reporter package. These use the -cybertools.contact package +cybertools.organize package $Id$ """ @@ -56,7 +56,7 @@ class AgeGroup(BaseType): return self.isChild and u'Child' or u'Adult' @property - def token(self): return 'contact.person.agegroup.' + str(self.title.lower()) + def token(self): return 'organize.person.agegroup.' + str(self.title.lower()) # helpers