svn commit: r227867 - projects/portbuild/qmanager

Mark Linimon linimon at FreeBSD.org
Wed Nov 23 03:55:49 UTC 2011


Author: linimon (doc,ports committer)
Date: Wed Nov 23 03:55:48 2011
New Revision: 227867
URL: http://svn.freebsd.org/changeset/base/227867

Log:
  Add some more robustness.

Modified:
  projects/portbuild/qmanager/qmanagerhandler.py

Modified: projects/portbuild/qmanager/qmanagerhandler.py
==============================================================================
--- projects/portbuild/qmanager/qmanagerhandler.py	Wed Nov 23 03:54:28 2011	(r227866)
+++ projects/portbuild/qmanager/qmanagerhandler.py	Wed Nov 23 03:55:48 2011	(r227867)
@@ -114,7 +114,10 @@ class QManagerServerConn(QManagerConnect
         """ Connection is finished, flush and terminate it """
 
         if self.wfile:
-            self.wfile.flush()
+            try:
+                self.wfile.flush()
+            except:
+                pass
             self.wfile.close()
         if self.event:
             self.event.set()


More information about the svn-src-projects mailing list