pantalaimon: Formatting fixes.

This commit is contained in:
Damir Jelić 2019-05-14 21:29:59 +02:00
parent 69d14f3c68
commit 22fcbff44b
2 changed files with 4 additions and 5 deletions

View File

@ -132,11 +132,11 @@ class PanCompleter(Completer):
return compl_words return compl_words
def complete_pan_users(self, last_word): def complete_pan_users(self, last_word):
users = self.ctl.ListUsers() users = self.ctl.ListUsers()
compl_words = self.filter_words([i[0] for i in users], last_word) compl_words = self.filter_words([i[0] for i in users], last_word)
for compl_word in compl_words: for compl_word in compl_words:
yield Completion(compl_word, -len(last_word)) yield Completion(compl_word, -len(last_word))
def complete_verification(self, command, last_word, words): def complete_verification(self, command, last_word, words):
if len(words) == 2: if len(words) == 2:

View File

@ -16,7 +16,6 @@ from pantalaimon.thread_messages import (
DeviceConfirmSasMessage, DeviceConfirmSasMessage,
ImportKeysMessage, ImportKeysMessage,
ExportKeysMessage, ExportKeysMessage,
StartSasSignal,
ShowSasSignal, ShowSasSignal,
InviteSasSignal, InviteSasSignal,
SasDoneSignal, SasDoneSignal,