diff options
author | deepshikhaaa <deepshikhakhandelwal8@gmail.com> | 2017-11-21 16:05:13 +0530 |
---|---|---|
committer | deepshikhaaa <deepshikhakhandelwal8@gmail.com> | 2017-11-21 16:05:13 +0530 |
commit | cfe7cb1431dfb3e0c2bf7374038a74890ca1f7f0 (patch) | |
tree | cae4e206ab1b8f048660e177a9497b59c8e78386 /build-gluster-org/scripts | |
parent | 2c1060fb232281d121ec40c63ba715aa0b48bdfe (diff) |
change "changed_id" to "change_id"
Change-Id: Ie3312abaf16436b6110465cdf3113c945198c22b
Diffstat (limited to 'build-gluster-org/scripts')
-rw-r--r-- | build-gluster-org/scripts/close-old-reviews.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-gluster-org/scripts/close-old-reviews.py b/build-gluster-org/scripts/close-old-reviews.py index db9eec7..3db9843 100644 --- a/build-gluster-org/scripts/close-old-reviews.py +++ b/build-gluster-org/scripts/close-old-reviews.py @@ -14,7 +14,7 @@ def get_unique_id(days=90, count=25): parsed_output = json.loads(cleaned_output) unique_id = [] for item in parsed_output: - unique_id.append(item['changed_id']) + unique_id.append(item['change_id']) n = -(int(count)) oldest_reviews = unique_id[n:] return oldest_reviews |