summaryrefslogtreecommitdiff
path: root/scripts/maint/practracker/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/maint/practracker/util.py')
-rw-r--r--scripts/maint/practracker/util.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/maint/practracker/util.py b/scripts/maint/practracker/util.py
index 4b42565528..df629110c2 100644
--- a/scripts/maint/practracker/util.py
+++ b/scripts/maint/practracker/util.py
@@ -41,3 +41,10 @@ def get_tor_c_files(tor_topdir, include_dirs=None):
files_list.append(full_path)
return files_list
+
+class NullFile:
+ """A file-like object that we can us to suppress output."""
+ def __init__(self):
+ pass
+ def write(self, s):
+ pass