mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Do not print traceback when pipe is broken
https://fedorahosted.org/freeipa/ticket/2284 Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
@@ -799,7 +799,10 @@ class help(frontend.Local):
|
||||
|
||||
def _writer(self, outfile):
|
||||
def writer(string=''):
|
||||
print >> outfile, unicode(string)
|
||||
try:
|
||||
print >> outfile, unicode(string)
|
||||
except IOError:
|
||||
pass
|
||||
return writer
|
||||
|
||||
def print_topics(self, outfile):
|
||||
|
||||
Reference in New Issue
Block a user