[tor-commits] [depictor/master] Re-Comment the debugging commands

tom at torproject.org tom at torproject.org
Thu Apr 12 19:22:55 UTC 2018


commit bc79d015892f4fc90eaf99ba2d77af885a45445d
Author: Tom Ritter <tom at ritter.vg>
Date:   Fri Apr 6 20:50:52 2018 -0500

    Re-Comment the debugging commands
---
 write_website.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/write_website.py b/write_website.py
index 8662011..4895c74 100755
--- a/write_website.py
+++ b/write_website.py
@@ -72,10 +72,10 @@ def main():
 		fallback_dirs = []
 	
 	# great for debugging
-	import pickle
-	pickle.dump(consensuses, open('consensus.p', 'wb'))
-	pickle.dump(votes, open('votes.p', 'wb'))
-	pickle.dump(fallback_dirs, open('fallback_dirs.p', 'wb'))
+	# import pickle
+	# pickle.dump(consensuses, open('consensus.p', 'wb'))
+	# pickle.dump(votes, open('votes.p', 'wb'))
+	# pickle.dump(fallback_dirs, open('fallback_dirs.p', 'wb'))
 
 
 	dbc = sqlite3.connect(os.path.join('data', 'historical.db'))





More information about the tor-commits mailing list