diff options
author | James E. Blair <jim@acmegating.com> | 2022-08-02 08:02:30 -0700 |
---|---|---|
committer | James E. Blair <jim@acmegating.com> | 2022-08-02 08:02:30 -0700 |
commit | fbb97bd6b6d039a81279fd01a66f9c7c6698a855 (patch) | |
tree | 411cf376d43ae72808349460c8822f30cc23a73a /zuul | |
parent | de1e2a325e76b573544f5c1f4bf92e73c675e645 (diff) | |
download | zuul-fbb97bd6b6d039a81279fd01a66f9c7c6698a855.tar.gz |
Add whitespace around keywords
This fixes pep8 E275 which wants whitespace after assert and del.
Change-Id: I1f8659f462aa91c3fdf8f7eb8b939b67c0ce9f55
Diffstat (limited to 'zuul')
-rw-r--r-- | zuul/driver/gerrit/gerritconnection.py | 2 | ||||
-rw-r--r-- | zuul/executor/server.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/zuul/driver/gerrit/gerritconnection.py b/zuul/driver/gerrit/gerritconnection.py index 6aea4388b..1ec334915 100644 --- a/zuul/driver/gerrit/gerritconnection.py +++ b/zuul/driver/gerrit/gerritconnection.py @@ -1470,7 +1470,7 @@ class GerritConnection(ZKChangeCacheMixin, ZKBranchCacheMixin, BaseConnection): # for large projects like nova alldata = [] chunk, more_changes = _query_chunk(query, event) - while(chunk): + while chunk: alldata.extend(chunk) if more_changes is None: # continue sortKey based (before Gerrit 2.9) diff --git a/zuul/executor/server.py b/zuul/executor/server.py index 2165a797b..eac7fa7e5 100644 --- a/zuul/executor/server.py +++ b/zuul/executor/server.py @@ -3735,7 +3735,7 @@ class ExecutorServer(BaseMergeServer): sensor.reportStats(self.statsd, base_key) def finishJob(self, unique): - del(self.job_workers[unique]) + del self.job_workers[unique] self.log.debug( "Finishing Job: %s, queue(%d): %s", unique, |