zeppelin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k..@apache.org
Subject zeppelin git commit: Fix trivial typo
Date Thu, 24 Aug 2017 09:40:05 GMT
Repository: zeppelin
Updated Branches:
  refs/heads/master 4a369f100 -> f3e659f46


Fix trivial typo

### What is this PR for?
Fixes a trivial typo in travis_check.py.

The semicolon does nothing in travis_check.py.
Python use semicolon when several statements on the same line, here is [python doc.](https://docs.python.org/3/reference/compound_stmts.html)

### Questions:
* Does the licenses files need update? NO
* Is there breaking changes for older versions? NO
* Does this needs documentation? NO

Author: byung-u <iam.byungwoo@gmail.com>

Closes #2547 from byung-u/feature/fix-trivial-typo and squashes the following commits:

fef77e51 [byung-u] feature: remove semicolon end of statement


Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/f3e659f4
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/f3e659f4
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/f3e659f4

Branch: refs/heads/master
Commit: f3e659f46ae376806f01f13e65cc42957404afc0
Parents: 4a369f1
Author: byung-u <iam.byungwoo@gmail.com>
Authored: Tue Aug 22 11:21:37 2017 +0900
Committer: 1ambda <1amb4a@gmail.com>
Committed: Thu Aug 24 18:40:01 2017 +0900

----------------------------------------------------------------------
 travis_check.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/f3e659f4/travis_check.py
----------------------------------------------------------------------
diff --git a/travis_check.py b/travis_check.py
index cbf9623..ea5e37b 100644
--- a/travis_check.py
+++ b/travis_check.py
@@ -57,7 +57,7 @@ def getBuildStatus(author, commit):
     build = None
 
     if len(data) == 0:
-        return build;
+        return build
 
     for b in data:
         if b["commit"][:len(commit)] == commit:
@@ -102,7 +102,7 @@ def printBuildStatus(build):
 
 for sleep in check:
     info("--------------------------------")
-    time.sleep(sleep);
+    time.sleep(sleep)
     info("Get build status ...")
     build = getBuildStatus(author, commit)
     if build == None:


Mime
View raw message