diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-04-05 17:29:07 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-04-05 17:29:07 +0100 |
commit | 03b940d90667defe4a791efc307951386ac2d739 (patch) | |
tree | c0f56856fd443870b5e9b9ef95279454fb1350ae | |
parent | 45def843209bed1bcebfde31938b6a009b363f33 (diff) | |
download | obnam-03b940d90667defe4a791efc307951386ac2d739.tar.gz |
Bypass hooks by using filesystem directly to create lock.
-rw-r--r-- | obnamlib/repo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/repo.py b/obnamlib/repo.py index 4fef040f..15ffbc6e 100644 --- a/obnamlib/repo.py +++ b/obnamlib/repo.py @@ -284,7 +284,7 @@ class Repository(object): self.check_format_version() try: - self.fs.write_file('root.lock', '') + self.fs.fs.write_file('root.lock', '') except OSError, e: if e.errno == errno.EEXIST: raise LockFail('Lock file root.lock already exists') |