From b4b5ce64835d813d76fbbd052c6dc9a302a7a38c Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Mon, 25 May 2015 16:23:21 +0100 Subject: [PATCH] Missing change from last commit, print error #4695 --- ext/toolchain/ftputil.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/toolchain/ftputil.py b/ext/toolchain/ftputil.py index 3351f6b4..b9a19306 100644 --- a/ext/toolchain/ftputil.py +++ b/ext/toolchain/ftputil.py @@ -47,6 +47,8 @@ class FtpUploader: try: ftp.mkd(dir) except: + # sometimes nlst may returns nothing, so mkd fails with 'File exists' + print "Failed to create dir '%s'" % dir print "Changing to dir '%s'" % dir ftp.cwd(dir)