1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-13 09:16:14 +01:00

- use EPIPE (as suggested by mls)

This commit is contained in:
Marcus Huewe 2011-01-24 12:05:36 +01:00
parent dda670f3de
commit 497f97fc85

View File

@ -6,6 +6,7 @@
import os.path
import sys
import signal
import errno
from osc import oscerr
from urllib2 import URLError, HTTPError
from oscsslexcp import NoSecureSSLError
@ -128,7 +129,7 @@ def run(prg):
except IOError, e:
# ignore broken pipe
if e.errno != 32:
if e.errno != errno.EPIPE:
raise
return 1