diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-08-08 10:30:35 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-08-08 10:30:35 +0100 |
commit | 0a4ba9cb42af57cd25067b3cad85d26425b019ab (patch) | |
tree | 69ef690a3f8de89f8adbb0f10d7fc068af2ec954 | |
parent | 9c929d9b6309896438b9e11c8b1b384e09685c0c (diff) | |
download | obnam-0a4ba9cb42af57cd25067b3cad85d26425b019ab.tar.gz |
Exclude hard-to-test error from coverage.
-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 ddec4a46..d46466b8 100644 --- a/obnamlib/repo.py +++ b/obnamlib/repo.py @@ -274,7 +274,7 @@ class Repository(object): line = lines[0] try: version = int(line) - except ValueError, e: + except ValueError, e: # pragma: no cover msg = ('Invalid repository format version (%s) -- ' 'forgot encryption?' % repr(line)) |