mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
practracker: restore exceptions.txt header when running --regen
This commit is contained in:
@@ -193,6 +193,7 @@ def main(argv):
|
||||
tmpname = exceptions_file + ".tmp"
|
||||
tmpfile = open(tmpname, "w")
|
||||
problem_file = tmpfile
|
||||
problem_file.write(HEADER)
|
||||
ProblemVault = problem.ProblemVault()
|
||||
else:
|
||||
ProblemVault = problem.ProblemVault(exceptions_file)
|
||||
|
||||
Reference in New Issue
Block a user