Mercurial > p > roundup > code
diff roundup/rest.py @ 6009:d56e290ecab7
flake8 cleanups. Rename unused for loop vars argument unpacking.
for loop vars that are unused in for loop get _ prepended to indicate
they are supposed to be unused.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 31 Dec 2019 21:21:25 -0500 |
| parents | 776ca681f925 |
| children | c172bd18fa94 |
line wrap: on
line diff
--- a/roundup/rest.py Sat Dec 28 14:51:50 2019 -0500 +++ b/roundup/rest.py Tue Dec 31 21:21:25 2019 -0500 @@ -1704,7 +1704,7 @@ 'link': self.base_path + '/data/issue/' + issue_id, 'title': self.db.issue.get(issue_id, 'title') } - for x, ts, uid, action, data in self.db.issue.history(issue_id): + for _x, ts, _uid, action, data in self.db.issue.history(issue_id): if ts < old: continue if action == 'create':
