summaryrefslogtreecommitdiff
path: root/morphlib/buildworker.py
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-01-25 14:18:36 +0000
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-01-25 14:18:36 +0000
commit7f44ebbb8fdeb066438c2ee2263c7b1061f32039 (patch)
treea70900548aaea25f598b14cb431fb59b314f4ba9 /morphlib/buildworker.py
parentea5dce37921550e1d05914943f190185d6cf78be (diff)
downloadmorph-7f44ebbb8fdeb066438c2ee2263c7b1061f32039.tar.gz
Add poor checks for the output and error properties.
Diffstat (limited to 'morphlib/buildworker.py')
-rw-r--r--morphlib/buildworker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/buildworker.py b/morphlib/buildworker.py
index 29a70319..6a945db2 100644
--- a/morphlib/buildworker.py
+++ b/morphlib/buildworker.py
@@ -63,14 +63,14 @@ class BuildWorker(object):
return True
@property
- def output(self): # pragma: no cover
+ def output(self):
try:
return self._output[0]
except IndexError:
return None
@property
- def error(self): # pragma: no cover
+ def error(self):
return self._error
def options(self): # pragma: no cover