kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From damian...@apache.org
Subject kafka git commit: MINOR: Fix sftp_mkdir in release.py
Date Tue, 05 Sep 2017 09:27:54 GMT
Repository: kafka
Updated Branches:
  refs/heads/0.11.0 7b6e5f96c -> f7b9d523e


MINOR: Fix sftp_mkdir in release.py

Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Damian Guy <damian.guy@gmail.com>

Closes #3789 from ijuma/ftp-release-py-fixes

(cherry picked from commit b1871e5adf3fef7256a75d09b812c6ba64791ff4)
Signed-off-by: Damian Guy <damian.guy@gmail.com>


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

Branch: refs/heads/0.11.0
Commit: f7b9d523e34d9db1865dcd23236c06a71aa9b9a6
Parents: 7b6e5f9
Author: Ismael Juma <ismael@juma.me.uk>
Authored: Tue Sep 5 10:27:36 2017 +0100
Committer: Damian Guy <damian.guy@gmail.com>
Committed: Tue Sep 5 10:27:49 2017 +0100

----------------------------------------------------------------------
 release.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/f7b9d523/release.py
----------------------------------------------------------------------
diff --git a/release.py b/release.py
index 022180a..5e6dfbb 100755
--- a/release.py
+++ b/release.py
@@ -121,6 +121,8 @@ def user_ok(msg):
 
 def sftp_mkdir(dir):
     basedir, dirname = os.path.split(dir)
+    if not basedir:
+       basedir = "."
     try:
        cmd_str  = """
 cd %s


Mime
View raw message