certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] applications/PyHLA/hla/_rti exceptions.h module.h


From: CERTI CVS commits
Subject: [certi-cvs] applications/PyHLA/hla/_rti exceptions.h module.h
Date: Thu, 23 Jun 2011 00:36:04 +0000

CVSROOT:        /sources/certi
Module name:    applications
Changes by:     Petr Gotthard <gotthardp>       11/06/23 00:36:04

Modified files:
        PyHLA/hla/_rti : exceptions.h module.h 

Log message:
        Bugfix.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/applications/PyHLA/hla/_rti/exceptions.h?cvsroot=certi&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/applications/PyHLA/hla/_rti/module.h?cvsroot=certi&r1=1.4&r2=1.5

Patches:
Index: exceptions.h
===================================================================
RCS file: /sources/certi/applications/PyHLA/hla/_rti/exceptions.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- exceptions.h        23 Jun 2011 00:10:06 -0000      1.3
+++ exceptions.h        23 Jun 2011 00:36:04 -0000      1.4
@@ -11,7 +11,7 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * Lesser General Public License for more details.
  *
- * $Id: exceptions.h,v 1.3 2011/06/23 00:10:06 gotthardp Exp $
+ * $Id: exceptions.h,v 1.4 2011/06/23 00:36:04 gotthardp Exp $
  */
 
 #ifndef RTI_EXCEPTIONS_H
@@ -129,7 +129,7 @@
     }
 
     PyObject *strvalue = PyObject_Str(value);
-    msg << ": " << PyUnicode_AsString(strvalue);
+    msg << ": " << PyUnicode_AsASCIIString(strvalue);
     Py_XDECREF(strvalue);
 
     Py_XDECREF(exception);
@@ -141,4 +141,4 @@
 
 #endif // RTI_EXCEPTIONS_H
 
-// $Id: exceptions.h,v 1.3 2011/06/23 00:10:06 gotthardp Exp $
+// $Id: exceptions.h,v 1.4 2011/06/23 00:36:04 gotthardp Exp $

Index: module.h
===================================================================
RCS file: /sources/certi/applications/PyHLA/hla/_rti/module.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- module.h    23 Jun 2011 00:10:08 -0000      1.4
+++ module.h    23 Jun 2011 00:36:04 -0000      1.5
@@ -11,7 +11,7 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * Lesser General Public License for more details.
  *
- * $Id: module.h,v 1.4 2011/06/23 00:10:08 gotthardp Exp $
+ * $Id: module.h,v 1.5 2011/06/23 00:36:04 gotthardp Exp $
  */
 
 #ifndef RTI_MODULE_H
@@ -26,7 +26,7 @@
 #define Py_TYPE(o) (((PyObject*)(o))->ob_type)
 #define PyBytes_AsString PyString_AsString
 #define PyBytes_FromStringAndSize PyString_FromStringAndSize
-#define PyUnicode_AsString PyString_AsString
+#define PyUnicode_AsASCIIString PyString_AsString
 #define PyUnicode_FromFormat PyString_FromFormat
 #define PyUnicode_FromString PyString_FromString
 #endif
@@ -71,4 +71,4 @@
 
 #endif // RTI_MODULE_H
 
-// $Id: module.h,v 1.4 2011/06/23 00:10:08 gotthardp Exp $
+// $Id: module.h,v 1.5 2011/06/23 00:36:04 gotthardp Exp $



reply via email to

[Prev in Thread] Current Thread [Next in Thread]