[tor-commits] [depictor/master] Make the historical database available for download

tom at torproject.org tom at torproject.org
Sun Oct 16 01:37:44 UTC 2016


commit de52f15c1cbfbfd7cd54c88787a00f3762c8320c
Author: Tom Ritter <tom at ritter.vg>
Date:   Sat Oct 15 21:35:17 2016 -0400

    Make the historical database available for download
---
 write_website.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/write_website.py b/write_website.py
index 87863d6..ddb5a47 100755
--- a/write_website.py
+++ b/write_website.py
@@ -145,6 +145,8 @@ def main():
 	#subprocess.call(["gzip", "-9", archived])
 	#subprocess.call(["ln", "-s", archived + ".gz", archived])
 
+        subprocess.call(["cp", os.path.join('data', 'historical.db'), os.path.join('out', 'historical.db')])
+
 	# remove old files
 	weeks_to_keep = 3
 	files = [f for f in os.listdir(os.path.join(os.path.dirname(__file__), 'out'))]



More information about the tor-commits mailing list