Whitespace fixes.

This commit is contained in:
Florian Bruhin 2014-10-20 00:24:55 +02:00
parent 8e9836785f
commit 1238807745

View File

@ -208,15 +208,12 @@ class QuickmarkCompletionModel(basecompletion.BaseCompletionModel):
if match_field == 'url':
for qm_name, qm_url in objreg.get('quickmark-manager').marks.items():
qmlist.append((qm_url, qm_name))
elif match_field == 'name':
for qm_name, qm_url in objreg.get('quickmark-manager').marks.items():
qmlist.append((qm_name, qm_url))
else:
raise ValueError("Invalid value '{}' for match_field!".format(match_field))
cat = self.new_category("Quickmarks")
for (name, desc) in qmlist:
self.new_item(cat, name, desc)