mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
practracker: Improvements based on last Nick's review.
This commit is contained in:
committed by
Nick Mathewson
parent
157f7ba93e
commit
ec8c5b3fea
@@ -8,6 +8,7 @@ get worse.
|
||||
"""
|
||||
|
||||
import os.path
|
||||
import sys
|
||||
|
||||
class ProblemVault(object):
|
||||
"""
|
||||
@@ -23,7 +24,7 @@ class ProblemVault(object):
|
||||
with open(exception_fname, 'r') as exception_f:
|
||||
self.register_exceptions(exception_f)
|
||||
except IOError:
|
||||
print("No exception file provided")
|
||||
print("No exception file provided", file=sys.stderr)
|
||||
|
||||
def register_exceptions(self, exception_file):
|
||||
# Register exceptions
|
||||
|
||||
Reference in New Issue
Block a user