From 0b7dd14d1f87e2ecef7aacc39fe4189667ed4fdf Mon Sep 17 00:00:00 2001 From: Boulder Sprinters Date: Fri, 9 Mar 2007 17:43:46 +0000 Subject: boulder-oracle-sprint: Merged to trunk [4692]. git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4695 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 13ad065681..6fd6fab816 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ for dirpath, dirnames, filenames in os.walk(django_dir): # Small hack for working with bdist_wininst. # See http://mail.python.org/pipermail/distutils-sig/2004-August/004134.html -if sys.argv[1] == 'bdist_wininst': +if len(sys.argv) > 1 and sys.argv[1] == 'bdist_wininst': for file_info in data_files: file_info[0] = '/PURELIB/%s' % file_info[0] -- cgit v1.3