summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-07-26 15:27:43 +0300
committermonsta <[email protected]>2017-07-26 15:27:43 +0300
commitd82c4594d5dde57d3b3b3b8d4f1e02eb7d43c0c3 (patch)
tree405a824a9d0cd8d989b4679b779408d52af4646d /src
parentd1d2a708b1607520b082830dd590a03dc1fb70d3 (diff)
downloadpython-caja-d82c4594d5dde57d3b3b3b8d4f1e02eb7d43c0c3.tar.bz2
python-caja-d82c4594d5dde57d3b3b3b8d4f1e02eb7d43c0c3.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;
}