summaryrefslogtreecommitdiff
path: root/morphlib
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-01-11 12:17:05 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-01-11 12:17:05 +0000
commitccdd5c8f40ce59d8f7c429e38ce916daa7b88c82 (patch)
tree71a8e4bfac13efb62ec9134a40bc81cdf42e4655 /morphlib
parentbb3cf2598ff77bd514474a67f5f7149eb720589b (diff)
downloadmorph-ccdd5c8f40ce59d8f7c429e38ce916daa7b88c82.tar.gz
mark stuff outside coverage testing
This particular bit will be going away when we get rid of morph's juggling between non-root/fakeroot/sudo.
Diffstat (limited to 'morphlib')
-rw-r--r--morphlib/execute.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/execute.py b/morphlib/execute.py
index aedf8d4f..be44c978 100644
--- a/morphlib/execute.py
+++ b/morphlib/execute.py
@@ -53,7 +53,7 @@ class Execute(object):
self.env = dict(os.environ)
def _prefix(self, argv, as_root, as_fakeroot):
- if as_root:
+ if as_root: # pragma: no cover
if os.getuid() == 0:
prefix = ['env']
else: