[Products.Silva][Sylvain Viollon] Update message.

[email protected] Thu, 14 Nov 2013 15:42:31 +0100
Newsgroups gmane.comp.web.zope.silva.cvs
Message-ID <[email protected]>
author:    Sylvain Viollon
date:      Thu Nov 14 15:42:24 2013 +0100
revision:  11884:28198ccd192a in Products.Silva
branch:    2.4
details:   https://hg.infrae.com/Products.Silva?cmd=changeset;node=28198ccd192a
modified:  Products/Silva/GhostFolder/content.py Products/Silva/tests/test_folder_ghoster.py
added:     
removed:   
log:       Update message.


diffstat:

 Products/Silva/GhostFolder/content.py       |  3 ++-
 Products/Silva/tests/test_folder_ghoster.py |  2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 0985ca7d77f8 -r 28198ccd192a Products/Silva/GhostFolder/content.py
--- a/Products/Silva/GhostFolder/content.py	Thu Nov 14 15:28:01 2013 +0100
+++ b/Products/Silva/GhostFolder/content.py	Thu Nov 14 15:42:24 2013 +0100
@@ -121,7 +121,8 @@
 
         if errors:
             raise ContentErrorBundle(
-                _(u"Error while synchronizing the Ghost Folder"),
+                _(u"Error while synchronizing the Ghost Folder: "
+                  u"not all its content have been updated properly."),
                 content=self, errors=errors)
         return True
 
diff -r 0985ca7d77f8 -r 28198ccd192a Products/Silva/tests/test_folder_ghoster.py
--- a/Products/Silva/tests/test_folder_ghoster.py	Thu Nov 14 15:28:01 2013 +0100
+++ b/Products/Silva/tests/test_folder_ghoster.py	Thu Nov 14 15:42:24 2013 +0100
@@ -49,7 +49,7 @@
 
         self.assertTrue(verifyObject(IContentErrorBundle, error))
         self.assertEqual(error.content, self.root.target.source)
-        self.assertEqual(error.reason, u'Error while synchronizing the Ghost Folder')
+        self.assertEqual(error.reason, u'Error while synchronizing the Ghost Folder: not all its content have been updated properly.')
         self.assertEqual(len(error.errors), 1)
 
     def test_other(self):