Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Commit

Permalink
patch for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Surgo committed Nov 1, 2008
1 parent a393213 commit c955862
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions appengine_django/__init__.py
Expand Up @@ -108,6 +108,10 @@
sys.path = sys.path[0:1] + EXTRA_PATHS + sys.path[1:]
from google.appengine.api import apiproxy_stub_map

# Django on Windows tries to use unlink, but GAE doesn't have it, so make it a noop
if os.name == 'nt':
os.unlink = lambda: None

# Look for a zipped copy of Django.
have_django_zip = False
django_zip_path = os.path.join(PARENT_DIR, 'django.zip')
Expand Down

0 comments on commit c955862

Please sign in to comment.