diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-01-11 12:17:05 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-01-11 12:17:05 +0000 |
commit | ccdd5c8f40ce59d8f7c429e38ce916daa7b88c82 (patch) | |
tree | 71a8e4bfac13efb62ec9134a40bc81cdf42e4655 /morphlib | |
parent | bb3cf2598ff77bd514474a67f5f7149eb720589b (diff) | |
download | morph-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.py | 2 |
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: |