This is an automated email from the ASF dual-hosted git repository. lgoldstein pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
commit 1a98fbc5173e05307bdb6c65ece99d8f7191e794 Author: Lyor Goldstein <lgoldst...@apache.org> AuthorDate: Thu Oct 17 10:25:40 2019 +0300 [SSHD-914] Make sure Ptyhon script CWD prompt is shown on time for the user to see it --- sshd-sources/python/sftpclient.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sshd-sources/python/sftpclient.py b/sshd-sources/python/sftpclient.py index f8df143..bcd5976 100644 --- a/sshd-sources/python/sftpclient.py +++ b/sshd-sources/python/sftpclient.py @@ -336,6 +336,7 @@ def doSftp(sftp): while True: curdir = sftp.getcwd() sys.stdout.write("%s > " % curdir) + sys.stdout.flush() l = sys.stdin.readline() l = l.strip() @@ -403,4 +404,4 @@ if __name__ == "__main__": print("Use Ctrl+Break to stop the script") else: print("Use Ctrl+C to stop the script") - main(sys.argv[1:]) \ No newline at end of file + main(sys.argv[1:])