浏览代码

practracker: Remove problemvault global.

Nick Mathewson 4 年之前
父节点
当前提交
31a0b81854
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      scripts/maint/practracker/practracker.py

+ 0 - 5
scripts/maint/practracker/practracker.py

@@ -46,9 +46,6 @@ TOLERANCE_FNS = {
 
 #######################################################
 
-# ProblemVault singleton
-ProblemVault = None
-
 # The Tor source code topdir
 TOR_TOPDIR = None
 
@@ -185,8 +182,6 @@ def main(argv):
 
     # 2) Initialize problem vault and load an optional exceptions file so that
     # we don't warn about the past
-    global ProblemVault
-
     if args.regen:
         tmpname = exceptions_file + ".tmp"
         tmpfile = open(tmpname, "w")