pygobject r903 - in trunk: . glib
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: pygobject r903 - in trunk: . glib
- Date: Fri, 1 Aug 2008 16:30:41 +0000 (UTC)
Author: johan
Date: Fri Aug 1 16:30:41 2008
New Revision: 903
URL: http://svn.gnome.org/viewvc/pygobject?rev=903&view=rev
Log:
2008-08-01 Johan Dahlin <johan gnome org>
* glib/glibmodule.c (pyglib_set_application_name):
Use %r instead of %s, this is not python!
Modified:
trunk/ChangeLog
trunk/glib/glibmodule.c
Modified: trunk/glib/glibmodule.c
==============================================================================
--- trunk/glib/glibmodule.c (original)
+++ trunk/glib/glibmodule.c Fri Aug 1 16:30:41 2008
@@ -491,7 +491,7 @@
{
if (!PyString_Check(arg)) {
PyErr_Format(PyExc_TypeError,
- "first argument must be a string, not %r",
+ "first argument must be a string, not '%s'",
PyString_AS_STRING(PyObject_Repr(arg)));
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]