diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-07-02 17:46:20 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-07-02 17:46:20 +0000 |
commit | 586900a585cb7924349a4011e0268752305bcf2b (patch) | |
tree | 35ee35786501bcc1f6a8ff2defedb3481dee2d89 | |
parent | 79c4579c78caff17d31d46776d512dae3f879d3b (diff) | |
download | obnam-586900a585cb7924349a4011e0268752305bcf2b.tar.gz |
Add note about client lock needed for flush_cache
-rw-r--r-- | obnamlib/repo_interface.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/obnamlib/repo_interface.py b/obnamlib/repo_interface.py index f948c68e..26bc1d34 100644 --- a/obnamlib/repo_interface.py +++ b/obnamlib/repo_interface.py @@ -546,6 +546,8 @@ class RepositoryInterface(object): def flush_client(self, client_name): '''Flush cached data from client. This is not a commit. + This requires the client to be locked. + This is a NOP, unless the a specific repository format gives it meaning. |