mirror of https://github.com/scrapy/scrapy.git
fix for formatting interactive shell (#6980)
This commit is contained in:
parent
32f2aede82
commit
c47b5d049a
|
|
@ -203,7 +203,7 @@ class Shell:
|
|||
b.append(" shelp() Shell help (print this help)")
|
||||
b.append(" view(response) View response in a browser")
|
||||
|
||||
return "\n".join(f"[s] {line}" for line in b)
|
||||
return "\n".join(f"[s] {line}" for line in b) + "\n"
|
||||
|
||||
def _is_relevant(self, value: Any) -> bool:
|
||||
return isinstance(value, self.relevant_classes) or is_item(value)
|
||||
|
|
|
|||
Loading…
Reference in New Issue