Skip to content

Commit e007ce7

Browse files
author
Johannes Gijsbers
committed
1 parent 910131b commit e007ce7

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

roundup/admin.py

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
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 $
2020

2121
'''Administration commands for maintaining Roundup trackers.
2222
'''
@@ -277,11 +277,18 @@ def do_help(self, args, nl_re=re.compile('[\r\n]'),
277277
def listTemplates(self):
278278
''' List all the available templates.
279279
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
285292
'''
286293
# OK, try <prefix>/share/roundup/templates
287294
# -- this module (roundup.admin) will be installed in something

0 commit comments

Comments
 (0)