From 992683ac5cca1840738cafa91a74170e72cea67f Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Thu, 21 Oct 2010 13:24:02 -0200 Subject: [PATCH] Deploy command requires project --- scrapy/commands/deploy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scrapy/commands/deploy.py b/scrapy/commands/deploy.py index 65827b5eb..a7cd8c9a9 100644 --- a/scrapy/commands/deploy.py +++ b/scrapy/commands/deploy.py @@ -39,6 +39,8 @@ setup( class Command(ScrapyCommand): + requires_project = True + def syntax(self): return "[options] [ | -l | -L ]"