summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-07-26 15:27:43 +0300
committerraveit65 <[email protected]>2017-07-26 16:42:54 +0200
commit233c3b8400e20086749cba5515c2f9396161c5ba (patch)
tree0b561f33c801bf5fe2f5bf6ee14baab513a1218f /src
parentadcc63097ffb93621d5d3919bc4351ac149cdc7b (diff)
downloadpython-caja-233c3b8400e20086749cba5515c2f9396161c5ba.tar.bz2
python-caja-233c3b8400e20086749cba5515c2f9396161c5ba.tar.xz
use standard python exception message
Diffstat (limited to 'src')
-rw-r--r--src/caja-python.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/caja-python.c b/src/caja-python.c
index 03a5c67..7f13e36 100644
--- a/src/caja-python.c
+++ b/src/caja-python.c
@@ -206,7 +206,7 @@ caja_python_init_python (void)
debug("import caja");
gi = PyImport_ImportModule ("gi");
if (!gi) {
- g_critical ("can't find gi");
+ PyErr_Print();
return FALSE;
}