* Jason R. Mastaler <[EMAIL PROTECTED]> [2006-11-02 17:20:18 -0700]: > > Ok, I'm looking a little closer here. If I look at bin/tmda-rfilter, I > > see in "def setvuserhomedir" that it's setting os.environ['HOME'] to the > > value it's obtaining from the output of -S > > > > In TMDA/Defaults.py I see it setting: > > > > HOMEDIR = os.path.expanduser('~') > > > > I'm not a python programmer by any stretch of the imagination, but > > shouldn't HOMEDIR = os.environ['HOME']? Could the expansion of ~ be > > looking elsewhere than at the $HOME environment variable (I don't know, > > I don't know how that function works). > > Here's the description of os.path.expanduser from the docs[1]: > > expanduser(path) > > On Unix, return the argument with an initial component of "~" or > "~user" replaced by that user's home directory. An initial "~" is > replaced by the environment variable HOME if it is set; otherwise
In other words, I'm completely wrong. =) Ok, back to the drawing board. -- {FEE30AD4 : 7F6C A60C 06C2 4811 FA1C A2BC 2EBC 5E32 FEE3 0AD4} mysql> SELECT * FROM users WHERE clue > 0; Empty set (0.00sec)
pgpossjJkRfGS.pgp
Description: PGP signature
_____________________________________________ tmda-users mailing list (tmda-users@tmda.net) http://tmda.net/lists/listinfo/tmda-users