Whitespace fixes.
This commit is contained in:
parent
8e9836785f
commit
1238807745
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user