X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fbup%2Fcmd%2Fftp.py;h=40449a652502cf8932eaeb98771229786b4cc987;hb=69691f0f15cc09a1f35372d36895861038df382b;hp=bed1b9af21159da0ba968685f122d83edf3eb15a;hpb=dd9bab659134d470ed9151679c8efc5ff4f50547;p=bup.git diff --git a/lib/bup/cmd/ftp.py b/lib/bup/cmd/ftp.py index bed1b9a..40449a6 100755 --- a/lib/bup/cmd/ftp.py +++ b/lib/bup/cmd/ftp.py @@ -14,6 +14,8 @@ from bup.io import byte_stream, path_msg from bup.repo import LocalRepo +repo = None + class OptionError(Exception): pass @@ -122,6 +124,8 @@ def main(argv): git.check_repo_or_die() + global repo + sys.stdout.flush() out = byte_stream(sys.stdout) stdin = byte_stream(sys.stdin)