Mercurial > p > roundup > code
comparison roundup/hyperdb.py @ 2603:5ccd99777869
fix metakit handling of filter on Link==None; fix some unit tests
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 20 Jul 2004 23:24:27 +0000 |
| parents | 58848e3b6bb8 |
| children | 7c472ed6babf |
comparison
equal
deleted
inserted
replaced
| 2602:a32349bfcde4 | 2603:5ccd99777869 |
|---|---|
| 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
| 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 17 # | 17 # |
| 18 # $Id: hyperdb.py,v 1.101 2004-07-14 01:12:25 richard Exp $ | 18 # $Id: hyperdb.py,v 1.102 2004-07-20 23:24:26 richard Exp $ |
| 19 | 19 |
| 20 """Hyperdatabase implementation, especially field types. | 20 """Hyperdatabase implementation, especially field types. |
| 21 """ | 21 """ |
| 22 __docformat__ = 'restructuredtext' | 22 __docformat__ = 'restructuredtext' |
| 23 | 23 |
| 89 class Boolean: | 89 class Boolean: |
| 90 """An object designating a boolean property""" | 90 """An object designating a boolean property""" |
| 91 def __repr__(self): | 91 def __repr__(self): |
| 92 'more useful for dumps' | 92 'more useful for dumps' |
| 93 return '<%s>' % self.__class__ | 93 return '<%s>' % self.__class__ |
| 94 | 94 |
| 95 class Number: | 95 class Number: |
| 96 """An object designating a numeric property""" | 96 """An object designating a numeric property""" |
| 97 def __repr__(self): | 97 def __repr__(self): |
| 98 'more useful for dumps' | 98 'more useful for dumps' |
| 99 return '<%s>' % self.__class__ | 99 return '<%s>' % self.__class__ |
