diff options
author | Johan Dahlin <johan@gnome.org> | 2008-08-01 16:30:41 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-08-01 16:30:41 +0000 |
commit | baee1fed7d769e6e2e31c046e19a2d3818ae27f7 (patch) | |
tree | e8c5427d9ba8598973dfb5c8c2dbf432b2fc0341 /glib/glibmodule.c | |
parent | bc5a21dd912b56b1911635291e06dabb72ac808f (diff) | |
download | pygobject-baee1fed7d769e6e2e31c046e19a2d3818ae27f7.tar.gz pygobject-baee1fed7d769e6e2e31c046e19a2d3818ae27f7.tar.xz pygobject-baee1fed7d769e6e2e31c046e19a2d3818ae27f7.zip |
Use %r instead of %s, this is not python!
2008-08-01 Johan Dahlin <johan@gnome.org>
* glib/glibmodule.c (pyglib_set_application_name):
Use %r instead of %s, this is not python!
svn path=/trunk/; revision=903
Diffstat (limited to 'glib/glibmodule.c')
-rw-r--r-- | glib/glibmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/glibmodule.c b/glib/glibmodule.c index 4280ac8..79ae6c8 100644 --- a/glib/glibmodule.c +++ b/glib/glibmodule.c @@ -491,7 +491,7 @@ pyglib_set_application_name(PyObject *self, PyObject *arg) { 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; } |