summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vatamaniuc <vatamane@gmail.com>2021-09-10 02:19:06 -0400
committerNick Vatamaniuc <vatamane@gmail.com>2021-09-10 02:19:06 -0400
commit8943d9c33b8cb31d451f2a3064dcd427a6b2a153 (patch)
tree98f8fe05289f95605b35f5da94fa1507623c07b6
parentce596c65d9d7f0bc5d9937bcaf6253b343015690 (diff)
downloadcouchdb-8943d9c33b8cb31d451f2a3064dcd427a6b2a153.tar.gz
Reformat logfile-uploader.py to pass python format checker
-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()