diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2007-12-18 00:53:27 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2007-12-18 01:12:22 -0800 |
commit | 436463e7874524b21d70bdd9bb2be8bae1d3441c (patch) | |
tree | 020b0581a4b3d2e3036131deaa41348c3f846a29 /gitosis/ssh.py | |
parent | Add some more testcases. (diff) | |
download | gitosis-dakkar-436463e7874524b21d70bdd9bb2be8bae1d3441c.tar.gz gitosis-dakkar-436463e7874524b21d70bdd9bb2be8bae1d3441c.tar.bz2 gitosis-dakkar-436463e7874524b21d70bdd9bb2be8bae1d3441c.zip |
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.
Diffstat (limited to 'gitosis/ssh.py')
-rw-r--r-- | gitosis/ssh.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |