summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2012-11-20 16:34:11 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2012-11-20 16:34:11 +0000
commit1ba801a38003fea6f4be3417d5163c615d7ee6b5 (patch)
tree246d4a7670cde195bb65221999f578753e099509
parent58612459f0fb3a9f024c657e51491685d2601b75 (diff)
python-ecore: Remove unreachable code.
We are not able to reach the retrun with the raise just one line before. If any python master thinks I'm wrong here please go ahead and revert and let me know why we would be able to reach it. This should fix the last warning I'm seeing in the python bindings. SVN revision: 79477
-rw-r--r--ecore/x/ecore.x.c_ecore_x_window.pxi1
1 files changed, 0 insertions, 1 deletions
diff --git a/ecore/x/ecore.x.c_ecore_x_window.pxi b/ecore/x/ecore.x.c_ecore_x_window.pxi
index 9fa3041..8c6881d 100644
--- a/ecore/x/ecore.x.c_ecore_x_window.pxi
+++ b/ecore/x/ecore.x.c_ecore_x_window.pxi
@@ -60,7 +60,6 @@ cdef class Window:
60 return 1 60 return 1
61 else: 61 else:
62 raise ValueError("object already wraps an X Window.") 62 raise ValueError("object already wraps an X Window.")
63 return 0
64 63
65 def __str__(self): 64 def __str__(self):
66 cdef int x, y, w, h, visible 65 cdef int x, y, w, h, visible