Mercurial > p > roundup > code
comparison roundup/admin.py @ 2787:dea26f113e6f
do_reindex help string reformatted to reuse existing translation
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Tue, 19 Oct 2004 09:15:32 +0000 |
| parents | 2a8a4d8ab339 |
| children | fcd76e1e97af |
comparison
equal
deleted
inserted
replaced
| 2786:9e9cc7974968 | 2787:dea26f113e6f |
|---|---|
| 14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | 15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
| 16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 18 # | 18 # |
| 19 # $Id: admin.py,v 1.81 2004-10-19 08:33:30 a1s Exp $ | 19 # $Id: admin.py,v 1.82 2004-10-19 09:15:32 a1s Exp $ |
| 20 | 20 |
| 21 '''Administration commands for maintaining Roundup trackers. | 21 '''Administration commands for maintaining Roundup trackers. |
| 22 ''' | 22 ''' |
| 23 __docformat__ = 'restructuredtext' | 23 __docformat__ = 'restructuredtext' |
| 24 | 24 |
| 1177 | 1177 |
| 1178 def do_reindex(self, args, desre=re.compile('([A-Za-z]+)([0-9]+)')): | 1178 def do_reindex(self, args, desre=re.compile('([A-Za-z]+)([0-9]+)')): |
| 1179 ""'''Usage: reindex [classname|designator]* | 1179 ""'''Usage: reindex [classname|designator]* |
| 1180 Re-generate a tracker's search indexes. | 1180 Re-generate a tracker's search indexes. |
| 1181 | 1181 |
| 1182 This will re-generate the search indexes for a tracker. This will | 1182 This will re-generate the search indexes for a tracker. |
| 1183 typically happen automatically. | 1183 This will typically happen automatically. |
| 1184 ''' | 1184 ''' |
| 1185 if args: | 1185 if args: |
| 1186 for arg in args: | 1186 for arg in args: |
| 1187 m = desre.match(arg) | 1187 m = desre.match(arg) |
| 1188 if m: | 1188 if m: |
