summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7498afe)
raw | patch | inline | side by side (parent: 7498afe)
author | jlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 24 Oct 2003 19:48:05 +0000 (19:48 +0000) | ||
committer | jlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 24 Oct 2003 19:48:05 +0000 (19:48 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1932 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/admin.py | patch | blob | history |
diff --git a/roundup/admin.py b/roundup/admin.py
index c4cc737beee8634f8742bdca973e806cc1d6c770..413509a61db7e280d044e4216366c036158d61c6 100644 (file)
--- a/roundup/admin.py
+++ b/roundup/admin.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: admin.py,v 1.58 2003-08-29 12:43:03 richard Exp $
+# $Id: admin.py,v 1.59 2003-10-24 19:48:05 jlgijsbers Exp $
'''Administration commands for maintaining Roundup trackers.
'''
def listTemplates(self):
''' List all the available templates.
- Look in three places:
- <prefix>/share/roundup/templates/*
- <__file__>/../templates/*
- current dir/*
- current dir as a template
+ Look in the following places, where the later rules take precedence:
+
+ 1. <prefix>/share/roundup/templates/*
+ this should be the standard place to find them when Roundup is
+ installed
+ 2. <roundup.admin.__file__>/../templates/*
+ this will be used if Roundup's run in the distro (aka. source)
+ directory
+ 3. <current working dir>/*
+ this is for when someone unpacks a 3rd-party template
+ 4. <current working dir>
+ this is for someone who "cd"s to the 3rd-party template dir
'''
# OK, try <prefix>/share/roundup/templates
# -- this module (roundup.admin) will be installed in something