Milimetric has submitted this change and it was merged.
Change subject: Make sure we generate the current month as well as the older
month
......................................................................
Make sure we generate the current month as well as the older month
Change-Id: I7697d87d5f1c9a3006e2f24edf4f60287dbe9251
---
M generate.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Milimetric: Verified; Looks good to me, approved
diff --git a/generate.py b/generate.py
index 8ad2138..ad1641b 100644
--- a/generate.py
+++ b/generate.py
@@ -202,7 +202,7 @@
sql_path = self.get_sql_path(graph_key)
if os.path.exists(sql_path):
- while from_date < end_date:
+ while from_date <= end_date:
graph_date_key = from_date.strftime('%Y-%m-%d')
from_timestamp = from_date.strftime('%Y%m%d%H%M%S')
from_date = from_date + relativedelta(months=1)
--
To view, visit https://gerrit.wikimedia.org/r/109786
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7697d87d5f1c9a3006e2f24edf4f60287dbe9251
Gerrit-PatchSet: 1
Gerrit-Project: analytics/limn-mobile-data
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: Milimetric <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits