Update of /cvsroot/tmda/tmda-cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv32247
Modified Files:
Session.py
Log Message:
Don't die if GID==0.
Index: Session.py
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/Session.py,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- Session.py 29 Mar 2003 22:46:28 -0000 1.1.1.1
+++ Session.py 31 Mar 2003 02:22:51 -0000 1.2
@@ -71,7 +71,7 @@
Report an error if we can't, but should be able to."""
if os.environ["TMDA_CGI_MODE"] == "system-wide":
# If not specified, use misc. user info
- if not UID or not GID:
+ if not UID:
PasswordRecord = pwd.getpwnam(os.environ["TMDA_CGI_USER"])
UID = PasswordRecord[2]
GID = PasswordRecord[3]
_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs