From: Mark Florisson Date: Wed, 3 Nov 2010 15:41:41 +0000 (+0100) Subject: fix completion error on 'cy break' X-Git-Tag: 0.14.beta0~1^2~43 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=0aca01f5f2b4f5413c9fdf36cf70f112426e1587;p=cython.git fix completion error on 'cy break' --- diff --git a/Cython/Debugger/libcython.py b/Cython/Debugger/libcython.py index 634aad57..4d3931b3 100644 --- a/Cython/Debugger/libcython.py +++ b/Cython/Debugger/libcython.py @@ -752,6 +752,7 @@ class CyBreak(CythonCommand): words = text.strip().split() if words and '.' in words[-1]: + lastword = words[-1] compl = [n for n in self.cy.functions_by_qualified_name if n.startswith(lastword)] else: