comparison roundup/admin.py @ 2785:2a8a4d8ab339

translation mark was lost on do_reindex help
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Tue, 19 Oct 2004 08:33:30 +0000
parents f6072f395f87
children dea26f113e6f
comparison
equal deleted inserted replaced
2784:40643f8b41a0 2785:2a8a4d8ab339
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.80 2004-10-16 14:51:08 a1s Exp $ 19 # $Id: admin.py,v 1.81 2004-10-19 08:33:30 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
1174 pack_before = date.Date(value) 1174 pack_before = date.Date(value)
1175 self.db.pack(pack_before) 1175 self.db.pack(pack_before)
1176 return 0 1176 return 0
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. This will
1183 typically happen automatically. 1183 typically happen automatically.
1184 ''' 1184 '''

Roundup Issue Tracker: http://roundup-tracker.org/