summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBessenyei Balázs Donát <bessbd@users.noreply.github.com>2021-05-04 18:12:33 +0200
committerGitHub <noreply@github.com>2021-05-04 18:12:33 +0200
commita0603b77160c01eca4c701b0c6cb7f21b9e2380c (patch)
treeafd18170a8e865be1f0a66a41ca3615d720bb813
parent75a4a3eedc3154daa4691f114ff921aa4350e88f (diff)
downloadcouchdb-a0603b77160c01eca4c701b0c6cb7f21b9e2380c.tar.gz
Reformat build-aux/logfile-uploader.py (#3542)
-rwxr-xr-xbuild-aux/logfile-uploader.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-aux/logfile-uploader.py b/build-aux/logfile-uploader.py
index 3df9e6c81..f33915a83 100755
--- a/build-aux/logfile-uploader.py
+++ b/build-aux/logfile-uploader.py
@@ -34,7 +34,7 @@ def _tojson(req):
def collect_logfiles():
- """ Find and tarball all logfiles """
+ """Find and tarball all logfiles"""
tb = tarfile.open(name=TARFILE, mode="w:gz")
# Test results
for log in glob.glob("test-results.log"):
@@ -52,7 +52,7 @@ def collect_logfiles():
def build_ci_doc():
- """ Build a metadata document with relevant detail from CI env """
+ """Build a metadata document with relevant detail from CI env"""
doc = {}
if "TRAVIS" in os.environ:
doc["builder"] = "travis"
@@ -125,7 +125,7 @@ def upload_logs():
def main():
- """ Find latest logfile and upload to Couch logfile db. """
+ """Find latest logfile and upload to Couch logfile db."""
print("Uploading logfiles...")
collect_logfiles()
req = upload_logs()