[tor-commits] [oonib/master] Fix NameError

art at torproject.org art at torproject.org
Fri Jan 31 10:32:36 UTC 2014


commit ef74b46676f43c6f55ceaa949e9aec3feec96045
Author: aagbsn <aagbsn at extc.org>
Date:   Wed Jan 29 19:41:21 2014 +0000

    Fix NameError
---
 oonib/report/handlers.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oonib/report/handlers.py b/oonib/report/handlers.py
index a970f4d..6190b85 100644
--- a/oonib/report/handlers.py
+++ b/oonib/report/handlers.py
@@ -66,7 +66,7 @@ class Report(object):
         dst_path = os.path.join(dst_path, dst_filename)
         os.rename(report_filename, dst_path)
 
-        del config.reports[report_id]
+        del config.reports[self.report_id]
 
 def parseUpdateReportRequest(request):
     #db_report_id_regexp = re.compile("[a-zA-Z0-9]+$")





More information about the tor-commits mailing list