[SCM] Samba Shared Repository - branch master updated

Jelmer Vernooij jelmer at samba.org
Sat Oct 9 19:51:01 MDT 2010


The branch, master has been updated
       via  27f72fb subunithelper: Don't access 'message' attribute directly as it deprecated
      from  3cd558d talloc: Fix #include line in manpage.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 27f72fb19b1b810c4cc778ca0f408da2f50fd2f5
Author: Kamen Mazdrashki <kamenim at samba.org>
Date:   Sun Oct 10 03:07:56 2010 +0200

    subunithelper: Don't access 'message' attribute directly as it deprecated
    
    Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
    
    Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
    Autobuild-Date: Sun Oct 10 01:50:09 UTC 2010 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 selftest/subunithelper.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/selftest/subunithelper.py b/selftest/subunithelper.py
index 13b0580..b9291b8 100644
--- a/selftest/subunithelper.py
+++ b/selftest/subunithelper.py
@@ -495,7 +495,7 @@ class PlainFormatter(TestsuiteEnabledTestResult):
 
         self.test_output[self.name] += "UNEXPECTED(%s): %s\n" % (result, testname)
         if reason is not None:
-            self.test_output[self.name] += "REASON: %s\n" % (reason[1].message.encode("utf-8").strip(),)
+            self.test_output[self.name] += "REASON: %s\n" % (unicode(reason[1]).encode("utf-8").strip(),)
 
         if self.immediate and not self.verbose:
             print self.test_output[self.name]


-- 
Samba Shared Repository


More information about the samba-cvs mailing list