From e679af7546ac16e136d601d32d9ec6dcfc86bc67 2006-12-08 11:22:02 From: vivainio Date: 2006-12-08 11:22:02 Subject: [PATCH] Do not show exception w/ file completer when pressing tab after backslash --- diff --git a/IPython/completer.py b/IPython/completer.py index 7d9f68c..4d79eca 100644 --- a/IPython/completer.py +++ b/IPython/completer.py @@ -380,7 +380,7 @@ class IPCompleter(Completer): open_quotes = 1 lsplit = lbuf.split("'")[-1] else: - return None + return [] except IndexError: # tab pressed on empty line lsplit = ""