|
16 | 16 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
17 | 17 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
18 | 18 | # |
19 | | -# $Id: admin.py,v 1.58 2003-08-29 12:43:03 richard Exp $ |
| 19 | +# $Id: admin.py,v 1.59 2003-10-24 19:48:05 jlgijsbers Exp $ |
20 | 20 |
|
21 | 21 | '''Administration commands for maintaining Roundup trackers. |
22 | 22 | ''' |
@@ -277,11 +277,18 @@ def do_help(self, args, nl_re=re.compile('[\r\n]'), |
277 | 277 | def listTemplates(self): |
278 | 278 | ''' List all the available templates. |
279 | 279 |
|
280 | | - Look in three places: |
281 | | - <prefix>/share/roundup/templates/* |
282 | | - <__file__>/../templates/* |
283 | | - current dir/* |
284 | | - current dir as a template |
| 280 | + Look in the following places, where the later rules take precedence: |
| 281 | +
|
| 282 | + 1. <prefix>/share/roundup/templates/* |
| 283 | + this should be the standard place to find them when Roundup is |
| 284 | + installed |
| 285 | + 2. <roundup.admin.__file__>/../templates/* |
| 286 | + this will be used if Roundup's run in the distro (aka. source) |
| 287 | + directory |
| 288 | + 3. <current working dir>/* |
| 289 | + this is for when someone unpacks a 3rd-party template |
| 290 | + 4. <current working dir> |
| 291 | + this is for someone who "cd"s to the 3rd-party template dir |
285 | 292 | ''' |
286 | 293 | # OK, try <prefix>/share/roundup/templates |
287 | 294 | # -- this module (roundup.admin) will be installed in something |
|
0 commit comments