Changes line as suggested in review
This commit is contained in:
parent
b2c7ab9211
commit
4bbc1e2d8a
@ -827,7 +827,7 @@ class CommandDispatcher:
|
|||||||
raise cmdexc.CommandError("{} is empty.".format(target))
|
raise cmdexc.CommandError("{} is empty.".format(target))
|
||||||
log.misc.debug("{} contained: '{}'".format(target,
|
log.misc.debug("{} contained: '{}'".format(target,
|
||||||
text.replace('\n', '\\n')))
|
text.replace('\n', '\\n')))
|
||||||
text_urls = enumerate([u for u in text.split('\n') if u != ''])
|
text_urls = enumerate(u for u in text.split('\n') if u)
|
||||||
for i, text_url in text_urls:
|
for i, text_url in text_urls:
|
||||||
if not window and i > 0:
|
if not window and i > 0:
|
||||||
tab = False
|
tab = False
|
||||||
|
Loading…
Reference in New Issue
Block a user