[Python-checkins] python/dist/src/Lib warnings.py,1.24,1.25

doerwalter at users.sourceforge.net doerwalter at users.sourceforge.net
Wed Dec 29 16:28:12 CET 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31067/Lib

Modified Files:
	warnings.py 
Log Message:
Fix wrong variable name.


Index: warnings.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/warnings.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- warnings.py	25 Aug 2004 02:14:06 -0000	1.24
+++ warnings.py	29 Dec 2004 15:28:09 -0000	1.25
@@ -79,7 +79,7 @@
         action, msg, cat, mod, ln = item
         if ((msg is None or msg.match(text)) and
             issubclass(category, cat) and
-            (msg is None or mod.match(module)) and
+            (mod is None or mod.match(module)) and
             (ln == 0 or lineno == ln)):
             break
     else:



More information about the Python-checkins mailing list