Index: modules/statsmaster/templates/anonymize_ips_head.erb |
diff --git a/modules/statsmaster/templates/anonymize_ips_head.erb b/modules/statsmaster/templates/anonymize_ips_head.erb |
deleted file mode 100644 |
index ca70c10e566dd609e24c910c43f8e2f89f8e8d0c..0000000000000000000000000000000000000000 |
--- a/modules/statsmaster/templates/anonymize_ips_head.erb |
+++ /dev/null |
@@ -1,12 +0,0 @@ |
-#!/usr/bin/env python |
- |
-import sys |
-import os |
-import re |
-from datetime import datetime, timedelta |
- |
-yearmonth = sys.argv[1] |
-if yearmonth == 'prevmonth': |
- now = datetime.now() |
- yearmonth = (now - timedelta(days=now.day)).strftime('%Y%m') |
-year, month = re.search(r'^(\d{4})(\d{2})$', yearmonth).groups() |