summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Client/Toolset.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/Client/Toolset.py b/src/lib/Client/Toolset.py
index 6b0f7f21e..98ab93493 100644
--- a/src/lib/Client/Toolset.py
+++ b/src/lib/Client/Toolset.py
@@ -53,7 +53,10 @@ class Toolset(object):
def CondPrint(self, state, msg):
'''Conditionally print message'''
if self.setup[state]:
- print msg
+ try:
+ print msg
+ except IOError:
+ pass
def LogFailure(self, area, entry):
'''Print tracebacks in unexpected cases'''