made scrapy.command.cmdline module executable from command line

This commit is contained in:
Pablo Hoffman 2009-08-27 11:49:35 -03:00
parent 625137464f
commit ab0def3f8b
1 changed files with 3 additions and 0 deletions

View File

@ -145,3 +145,6 @@ def run_command(cmd, args, opts):
else:
ret = cmd.run(args, opts)
return ret
if __name__ == '__main__':
execute()