commit | 6cea6933625910298c5fb156f365814eb3600494 | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Wed Dec 29 15:28:09 2004 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Wed Dec 29 15:28:09 2004 +0000 |
tree | f0722941d9b32df93df41c7982b37694da7b400e | |
parent | a2cc2695bbb711ca9d005b689a1d7eb70ceea0cf [diff] |
Fix wrong variable name.
diff --git a/Lib/warnings.py b/Lib/warnings.py index fd944ed..06d7685 100644 --- a/Lib/warnings.py +++ b/Lib/warnings.py
@@ -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: