summaryrefslogtreecommitdiff
path: root/efl/ethumb
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2014-04-15 20:49:06 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2014-04-15 20:49:06 +0300
commit6baa29295145ac9e1eb53b229a4b96567a35695d (patch)
tree75d6970cef84adcd43cfe5a7cbad305871b3b7a2 /efl/ethumb
parent5fcc33b17a69b8a7ad57022e01d37404fdd97254 (diff)
Code cleanup: Remove unused exception instances
This also gets rid of the old style syntax.
Diffstat (limited to 'efl/ethumb')
-rw-r--r--efl/ethumb/efl.ethumb_client.pyx6
1 files changed, 3 insertions, 3 deletions
diff --git a/efl/ethumb/efl.ethumb_client.pyx b/efl/ethumb/efl.ethumb_client.pyx
index 8c4939f..4a0ef8e 100644
--- a/efl/ethumb/efl.ethumb_client.pyx
+++ b/efl/ethumb/efl.ethumb_client.pyx
@@ -31,7 +31,7 @@ cdef void _connect_cb(void *data, Ethumb_Client *client, Eina_Bool success) with
31 try: 31 try:
32 func, args, kargs = self._on_connect_callback 32 func, args, kargs = self._on_connect_callback
33 func(self, s, *args, **kargs) 33 func(self, s, *args, **kargs)
34 except Exception, e: 34 except Exception:
35 traceback.print_exc() 35 traceback.print_exc()
36 36
37 if not s and self.obj != NULL: 37 if not s and self.obj != NULL:
@@ -46,7 +46,7 @@ cdef void _on_server_die_cb(void *data, Ethumb_Client *client) with gil:
46 try: 46 try:
47 func, args, kargs = self._on_server_die_callback 47 func, args, kargs = self._on_server_die_callback
48 func(self, *args, **kargs) 48 func(self, *args, **kargs)
49 except Exception, e: 49 except Exception:
50 traceback.print_exc() 50 traceback.print_exc()
51 51
52 if self.obj != NULL: 52 if self.obj != NULL:
@@ -65,7 +65,7 @@ cdef void _generated_cb(void *data, Ethumb_Client *client, int id, const char *f
65 s = bool(success != 0) 65 s = bool(success != 0)
66 try: 66 try:
67 func(self, id, f, k, tp, tk, s, *args, **kargs) 67 func(self, id, f, k, tp, tk, s, *args, **kargs)
68 except Exception, e: 68 except Exception:
69 traceback.print_exc() 69 traceback.print_exc()
70 70
71cdef void _generated_cb_free_data(void *data) with gil: 71cdef void _generated_cb_free_data(void *data) with gil: