Mercurial > p > roundup > code
comparison roundup/hyperdb.py @ 4044:27a9906cd8d1
Fix issue2550505.
| author | Stefan Seefeld <stefan@seefeld.name> |
|---|---|
| date | Mon, 16 Feb 2009 22:43:07 +0000 |
| parents | fe2af84a5ca5 |
| children | 7ad0918ee8bd |
comparison
equal
deleted
inserted
replaced
| 4043:32965347a663 | 4044:27a9906cd8d1 |
|---|---|
| 705 indicate which property is being saved. | 705 indicate which property is being saved. |
| 706 ''' | 706 ''' |
| 707 raise NotImplementedError | 707 raise NotImplementedError |
| 708 | 708 |
| 709 def getfile(self, classname, nodeid, property): | 709 def getfile(self, classname, nodeid, property): |
| 710 '''Store the content of the file in the database. | 710 '''Get the content of the file in the database. |
| 711 ''' | 711 ''' |
| 712 raise NotImplementedError | 712 raise NotImplementedError |
| 713 | 713 |
| 714 def addjournal(self, classname, nodeid, action, params): | 714 def addjournal(self, classname, nodeid, action, params): |
| 715 ''' Journal the Action | 715 ''' Journal the Action |
| 1127 "sort" and "group" are [(dir, prop), ...] where dir is '+', '-' | 1127 "sort" and "group" are [(dir, prop), ...] where dir is '+', '-' |
| 1128 or None and prop is a prop name or None. Note that for | 1128 or None and prop is a prop name or None. Note that for |
| 1129 backward-compatibility reasons a single (dir, prop) tuple is | 1129 backward-compatibility reasons a single (dir, prop) tuple is |
| 1130 also allowed. | 1130 also allowed. |
| 1131 | 1131 |
| 1132 "search_matches" is {nodeid: marker} | 1132 "search_matches" is a sequence type |
| 1133 | 1133 |
| 1134 The filter must match all properties specificed. If the property | 1134 The filter must match all properties specificed. If the property |
| 1135 value to match is a list: | 1135 value to match is a list: |
| 1136 | 1136 |
| 1137 1. String properties must match all elements in the list, and | 1137 1. String properties must match all elements in the list, and |
