X-Git-Url: https://vcs.fsf.org/?p=rainbowstream.git;a=blobdiff_plain;f=rainbowstream%2Finteractive.py;h=62be3ec2ef5a9f9ce15eb9882f96fcb6520dfb90;hp=546d776f554947dfcace97a8b7fc24e78ab84ba5;hb=37d1047f8c5e064eba4ef1cbae46d735568f0a9b;hpb=c3bab4ef2c05950ac280571d9b3575beb5203b31 diff --git a/rainbowstream/interactive.py b/rainbowstream/interactive.py index 546d776..62be3ec 100644 --- a/rainbowstream/interactive.py +++ b/rainbowstream/interactive.py @@ -39,8 +39,8 @@ class RainbowCompleter(object): candidates = self.options[first] if being_completed: - self.current_candidates = [ w for w in candidates - if w.startswith(being_completed) ] + self.current_candidates = [w for w in candidates + if w.startswith(being_completed)] else: self.current_candidates = candidates @@ -92,4 +92,3 @@ def init_interactive_shell(d): readline.parse_and_bind("bind ^I rl_complete") else: readline.parse_and_bind("tab: complete") -