diff --git a/pagure_exporter/work/tkts.py b/pagure_exporter/work/tkts.py index da9ecea..46db5f6 100644 --- a/pagure_exporter/work/tkts.py +++ b/pagure_exporter/work/tkts.py @@ -128,6 +128,7 @@ def iteriden(self, tkid): def itertkts(self, dictobjc): try: strttime = time.time() + standard.rateindx += 1 standard.issuname = dictobjc["title"] standard.issuiden = dictobjc["id"] standard.isclosed = True if dictobjc["status"] == "Closed" else False @@ -186,6 +187,7 @@ def itertkts(self, dictobjc): def itercmts(self, dictobjc): try: strttime = time.time() + standard.rateindx += 1 standard.cmtsiden = dictobjc["id"] standard.cmtslink = f"{standard.issulink}#comment-{standard.cmtsiden}" standard.cmtsauth = dictobjc["user"]["fullname"] @@ -233,6 +235,7 @@ def itercmts(self, dictobjc): def iterstat(self): try: strttime, respcode, respresn = time.time(), 0, "" + standard.rateindx += 1 if standard.isclosed: rqstdata = {"state_event": "close"} response = requests.put(