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:41 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk 493c2aad5 -> b1871e5ad


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


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

Branch: refs/heads/trunk
Commit: b1871e5adf3fef7256a75d09b812c6ba64791ff4
Parents: 493c2aa
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:36 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/kafka/blob/b1871e5a/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