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 b1871e5adf)
Signed-off-by: Damian Guy <damian.guy@gmail.com>
This commit is contained in:
Ismael Juma 2017-09-05 10:27:36 +01:00 committed by Damian Guy
parent 7b6e5f96ce
commit f7b9d523e3
1 changed files with 2 additions and 0 deletions

View File

@ -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