diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-03-22 12:45:07 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-03-22 12:45:07 +0000 |
commit | 2fa47ad8bb83f5df55f70885e30c7edfda3b9f9e (patch) | |
tree | 8cf0089f6e2ddd680affa11fe3c0b6d9dea7a1e2 | |
parent | ed46cb4757256ba1797fced95a2bce07f868ba63 (diff) | |
download | obnam-2fa47ad8bb83f5df55f70885e30c7edfda3b9f9e.tar.gz |
Fix advancing in FUSE fileobnam-1.7.1
We don't necessarily have the content, but we do know its size.
-rw-r--r-- | obnamlib/plugins/fuse_plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/plugins/fuse_plugin.py b/obnamlib/plugins/fuse_plugin.py index b65e084a..5d736a67 100644 --- a/obnamlib/plugins/fuse_plugin.py +++ b/obnamlib/plugins/fuse_plugin.py @@ -183,7 +183,7 @@ class ObnamFuseFile(object): assert output_length <= length if output_length == length: break - chunk_pos_in_file += len(contents) + chunk_pos_in_file += size return ''.join(output) |