Update shell help with availability of scrapy module

This commit is contained in:
Paul Tremberth 2016-09-15 21:37:15 +02:00
parent 105163fece
commit effaab867e
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ class Shell(object):
def get_help(self):
b = []
b.append("Available Scrapy objects:")
b.append(" scrapy scrapy module (contains scrapy.Request, scrapy.Selector, etc)")
for k, v in sorted(self.vars.items()):
if self._is_relevant(v):
b.append(" %-10s %s" % (k, v))