changeset e9f103e5f0f5 in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=e9f103e5f0f5
description: fix traceback with bash completion

diffstat:

 src/groupchat_control.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 2c8105e20e2b -r e9f103e5f0f5 src/groupchat_control.py
--- a/src/groupchat_control.py  Wed Oct 28 21:17:23 2009 +0100
+++ b/src/groupchat_control.py  Wed Oct 28 22:15:46 2009 +0100
@@ -1844,8 +1844,8 @@
                                else:
                                        add = ' '
                                start_iter = end_iter.copy()
-                               if self.last_key_tabs and 
with_refer_to_nick_char or \
-                               text[-1] == ' ':
+                               if self.last_key_tabs and 
with_refer_to_nick_char or (text and \
+                               text[-1] == ' '):
                                        # have to accomodate for the added 
space from last
                                        # completion
                                        # gc_refer_to_nick_char may be more 
than one char!
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to