aboutsummaryrefslogtreecommitdiff
path: root/gitosis/util.py
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-12-18 00:53:27 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2007-12-18 01:12:22 -0800
commit436463e7874524b21d70bdd9bb2be8bae1d3441c (patch)
tree020b0581a4b3d2e3036131deaa41348c3f846a29 /gitosis/util.py
parentAdd some more testcases. (diff)
downloadgitosis-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/util.py')
-rw-r--r--gitosis/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitosis/util.py b/gitosis/util.py
index 83f66d4..2da4168 100644
--- a/gitosis/util.py
+++ b/gitosis/util.py
@@ -29,7 +29,7 @@ def _sysfunc(func, ignore, *args, **kwds):
Run the specified function, ignoring the specified errno if raised, and
raising other errors.
"""
- if not ignore:
+ if not ignore: # pragma: no cover
ignore = []
try:
func(*args, **kwds)