Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Fixed compatibility with Python 2.5

Pablo Hoffmanf8b4d1dc5d6d
diff --git a/scrapy/commands/deploy.py b/scrapy/commands/deploy.py
index d6ebd16df..65827b5eb 100644
--- a/scrapy/commands/deploy.py
+++ b/scrapy/commands/deploy.py
@@ -1,3 +1,4 @@
+from __future__ import with_statement
import sys
import os