CVS: tmda/TMDA Auth.py,1.17,1.18

Gre7g Luterman <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda/TMDA
In directory sc8-pr-cvs1:/tmp/cvs-serv8886/TMDA

Modified Files:
	Auth.py 
Log Message:
Removed another Python 2.2 dependency.


Index: Auth.py
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/Auth.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- Auth.py	16 May 2003 15:46:56 -0000	1.17
+++ Auth.py	21 May 2003 04:57:26 -0000	1.18
@@ -638,7 +638,7 @@
 
     def __update_authdict(self, Force = 0 ):
         """Updates __authdict if __authfile has changed since last update"""
-        filemodtime = os.stat( self.__authfile ).st_mtime
+        filemodtime = os.stat( self.__authfile )[8]
         if Force or self.__authdictupdate is None or \
             self.__authdictupdate < filemodtime:
             self.__authdict = self.__authfile2dict( self.__authfile )

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.