Commits

Richard Jones committed fb38906

allow config *and* stats file to be runtime-configured

  • Participants
  • Parent commits a252a43

Comments (0)

Files changed (1)

File tools/dumpstats

 #!/usr/bin/python
-import os
 import csv
 import psycopg2
 import bz2
 
 if __name__ == '__main__':
     import sys
-    statsdir = '/data/www/pypi/stats'
-    main(sys.argv[1], os.path.join(statsdir, 'latest-totals.csv.bz2'))
+    main(sys.argv[1], sys.argv[2])