You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2021/09/10 06:19:50 UTC
[couchdb] branch 3.1.x updated: Reformat logfile-uploader.py to
pass python format checker
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch 3.1.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/3.1.x by this push:
new 8943d9c Reformat logfile-uploader.py to pass python format checker
8943d9c is described below
commit 8943d9c33b8cb31d451f2a3064dcd427a6b2a153
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Fri Sep 10 02:19:06 2021 -0400
Reformat logfile-uploader.py to pass python format checker
---
build-aux/logfile-uploader.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/build-aux/logfile-uploader.py b/build-aux/logfile-uploader.py
index 3df9e6c..f33915a 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()