summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 6ab5b4e..550293c 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -314,6 +314,7 @@ class Coverage(object):
"""
disp = FileDisposition(filename)
def nope(disp, reason):
+ """Simple helper to make it easy to return NO."""
disp.trace = False
disp.reason = reason
return disp