From f42786bf4cb11f047a41d32be91915133bf70894 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= <cedric.dsm@tiolive.com>
Date: Tue, 2 Jul 2013 11:14:35 +0200
Subject: [PATCH] erp5_promise: correct bad syntax when there is no smtp auth.

---
 .../portal_skins/erp5_promise/Alarm_installMailServer.xml      | 3 ++-
 bt5/erp5_promise/bt/revision                                   | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_promise/SkinTemplateItem/portal_skins/erp5_promise/Alarm_installMailServer.xml b/bt5/erp5_promise/SkinTemplateItem/portal_skins/erp5_promise/Alarm_installMailServer.xml
index fafeda95fd..4ec4cbe41a 100644
--- a/bt5/erp5_promise/SkinTemplateItem/portal_skins/erp5_promise/Alarm_installMailServer.xml
+++ b/bt5/erp5_promise/SkinTemplateItem/portal_skins/erp5_promise/Alarm_installMailServer.xml
@@ -72,7 +72,8 @@ if len(auth_item) == 2:\n
   auth, promise_url = auth_item\n
   smtp_uid, smtp_pwd = auth.split(\':\')\n
 else:\n
-  smtp_uid, smtp_pwd = ""\n
+  smtp_uid = ""\n
+  smtp_pwd = ""\n
   promise_url = auth_item[0]\n
 \n
 domain_port = promise_url.split(\'/\', 1)[0]\n
diff --git a/bt5/erp5_promise/bt/revision b/bt5/erp5_promise/bt/revision
index a5c750feac..368f89ceef 100644
--- a/bt5/erp5_promise/bt/revision
+++ b/bt5/erp5_promise/bt/revision
@@ -1 +1 @@
-27
\ No newline at end of file
+28
\ No newline at end of file
-- 
2.30.9