@@ -2513,7 +2513,7 @@ def retrieve_discussion_summaries(args, repository, since=None):
25132513 if updated_at and (newest_seen is None or updated_at > newest_seen ):
25142514 newest_seen = updated_at
25152515
2516- if since and updated_at and updated_at < since :
2516+ if since and updated_at and updated_at <= since :
25172517 stop = True
25182518 break
25192519
@@ -2899,7 +2899,7 @@ def track_newest_pull_update(pull):
28992899 newest_pull_update = updated_at
29002900
29012901 def pull_is_due_for_repository_checkpoint (pull ):
2902- return not repository_since or pull ["updated_at" ] >= repository_since
2902+ return not repository_since or pull ["updated_at" ] > repository_since
29032903
29042904 if not args .include_pull_details :
29052905 pull_states = ["open" , "closed" ]
@@ -2909,18 +2909,18 @@ def pull_is_due_for_repository_checkpoint(pull):
29092909 args , _pulls_template , query_args = query_args , lazy = True
29102910 ):
29112911 track_newest_pull_update (pull )
2912- if pulls_since and pull ["updated_at" ] < pulls_since :
2912+ if pulls_since and pull ["updated_at" ] <= pulls_since :
29132913 break
2914- if not pulls_since or pull ["updated_at" ] >= pulls_since :
2914+ if not pulls_since or pull ["updated_at" ] > pulls_since :
29152915 pulls [pull ["number" ]] = pull
29162916 else :
29172917 for pull in retrieve_data (
29182918 args , _pulls_template , query_args = query_args , lazy = True
29192919 ):
29202920 track_newest_pull_update (pull )
2921- if pulls_since and pull ["updated_at" ] < pulls_since :
2921+ if pulls_since and pull ["updated_at" ] <= pulls_since :
29222922 break
2923- if not pulls_since or pull ["updated_at" ] >= pulls_since :
2923+ if not pulls_since or pull ["updated_at" ] > pulls_since :
29242924 if pull_is_due_for_repository_checkpoint (pull ):
29252925 pulls [pull ["number" ]] = retrieve_data (
29262926 args ,
0 commit comments