summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-01-20 18:41:53 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2012-01-20 18:41:53 +0000
commit53be4831e8a183c4f0fd56f73294acb509fda51c (patch)
tree1017e1b23ec1447b3d7edc48d1c8606c60a1cc11
parent9ad168a53fb8442f654aa7bf130658dd0b8967a7 (diff)
cleanup MultipleSelectionCompleter
this line really is unnecessary. closes #275
-rw-r--r--alot/completion.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/alot/completion.py b/alot/completion.py
index 99027ab2..5def4c22 100644
--- a/alot/completion.py
+++ b/alot/completion.py
@@ -86,7 +86,6 @@ class MultipleSelectionCompleter(Completer):
def complete(self, original, pos):
mypart, start, end, mypos = self.relevant_part(original, pos)
- prefix = mypart[:mypos]
res = []
for c, p in self._completer.complete(mypart, mypos):
newprefix = original[:start] + c