CVS: tmda/contrib sample.config,1.1,1.2

"Jason R. Mastaler" <[email protected]> Thu, 05 Feb 2004 17:21:16 -0800
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda/contrib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25144/contrib

Modified Files:
	sample.config 
Log Message:
New feature.  Run config variables that contain a pathname through
os.path.expandusers().  This allows users to use the more intuitive
"~/foo" style string value in their ~/.tmda/config instead of having
to wrap the values in os.path.expandusers() themselves. e.g,

TEMPLATE_DIR = "~/.tmda/templates"
BARE_APPEND = "~/.tmda/.tmda/lists/whitelist"

Such variables are stored in a dict at the end of Defaults.py
called _path_vars.


Index: sample.config
===================================================================
RCS file: /cvsroot/tmda/tmda/contrib/sample.config,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sample.config	14 Nov 2002 00:09:53 -0000	1.1
+++ sample.config	6 Feb 2004 01:21:14 -0000	1.2
@@ -47,7 +47,7 @@
 # Here are examples of some recommended configuration variables.
 ######################################################################
 
-#CONFIRM_APPEND = os.path.expanduser("~/.tmda/lists/confirmed")
-#LOGFILE_DEBUG = os.path.expanduser("~/.tmda/logs/debug")
-#LOGFILE_INCOMING = os.path.expanduser("~/.tmda/logs/incoming")
-#LOGFILE_OUTGOING = os.path.expanduser("~/.tmda/logs/outgoing")
+#CONFIRM_APPEND = "~/.tmda/lists/confirmed"
+#LOGFILE_DEBUG = "~/.tmda/logs/debug"
+#LOGFILE_INCOMING = "~/.tmda/logs/incoming"
+#LOGFILE_OUTGOING = "~/.tmda/logs/outgoing"