From 017b773dec8dafe738a57ca6c503ec41a93eda24 Mon Sep 17 00:00:00 2001
From: Leonardo Rochael Almeida <leonardo@nexedi.com>
Date: Fri, 3 Aug 2012 17:06:23 +0200
Subject: [PATCH] fix TypeError when invoking runUnitTest --zserver=host:port

---
 product/ERP5Type/tests/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Type/tests/utils.py b/product/ERP5Type/tests/utils.py
index f665d26f19..0a22e60c7e 100644
--- a/product/ERP5Type/tests/utils.py
+++ b/product/ERP5Type/tests/utils.py
@@ -300,7 +300,7 @@ def parseListeningAddress(host_port=None, default_host='127.0.0.1'):
           raise
   """
   if host_port:
-    host_port = host_port.rsplit(':', 1)
+    host_port = tuple(host_port.rsplit(':', 1))
     if len(host_port) == 1:
       host_port = default_host, host_port[0]
     try:
-- 
2.30.9