jhbuild r2041 - in trunk: . jhbuild
- From: malureau svn gnome org
- To: svn-commits-list gnome org
- Subject: jhbuild r2041 - in trunk: . jhbuild
- Date: Sun, 20 Apr 2008 17:11:14 +0100 (BST)
Author: malureau
Date: Sun Apr 20 16:11:14 2008
New Revision: 2041
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2041&view=rev
Log:
2008-04-20 Marc-Andrà Lureau <marcandre lureau gmail com>
* jhbuild/main.py (main): don't raise EPIPE exception.
Fixes: #529065
Modified:
trunk/ChangeLog
trunk/jhbuild/main.py
Modified: trunk/jhbuild/main.py
==============================================================================
--- trunk/jhbuild/main.py (original)
+++ trunk/jhbuild/main.py Sun Apr 20 16:11:14 2008
@@ -18,7 +18,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-import sys, os
+import sys, os, errno
import optparse
import traceback
@@ -100,6 +100,10 @@
except EOFError:
print "EOF"
sys.exit(1)
+ except IOError, e:
+ if e.errno != errno.EPIPE:
+ raise
+ sys.exit(0)
if rc:
sys.exit(rc)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]