From a4456410629389e46c15f5f5057ff2e8df35e79b Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 20 Jul 2015 10:20:20 -0400 Subject: This line never cleanly exits the comprehension loop. --- coverage/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coverage/config.py') diff --git a/coverage/config.py b/coverage/config.py index 02c4917f..63f30180 100644 --- a/coverage/config.py +++ b/coverage/config.py @@ -60,7 +60,7 @@ class HandyConfigParser(configparser.RawConfigParser): def dollar_replace(m): """Called for each $replacement.""" # Only one of the groups will have matched, just get its text. - word = next(w for w in m.groups() if w is not None) + word = next(w for w in m.groups() if w is not None) # pragma: part covered if word == "$": return "$" else: -- cgit v1.2.1