From 436463e7874524b21d70bdd9bb2be8bae1d3441c Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Tue, 18 Dec 2007 00:53:27 -0800 Subject: Add more testcases, and add coverage exclusion notations on places where we do test the the content functions already, or they interact with the system too much to test for coverage automatically. --- gitosis/ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gitosis/ssh.py') diff --git a/gitosis/ssh.py b/gitosis/ssh.py index f280b8b..0d2d87f 100644 --- a/gitosis/ssh.py +++ b/gitosis/ssh.py @@ -79,7 +79,7 @@ def writeAuthorizedKeys(path, keydir): tmp = '%s.%d.tmp' % (path, os.getpid()) try: in_ = file(path) - except IOError, ex: + except IOError, ex: #pragma: no cover if ex.errno == errno.ENOENT: in_ = None else: -- cgit v1.2.3