summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-02-25 05:50:24 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-02-25 05:50:24 +0000
commit8f1fb6da3a2eaae0e8c2351266900c1ae9d36403 (patch)
treef26d97b57f425ac38fb54c69f8bf6171514c2903 /setup.py
parent67e0248806e8adc03ddd81e9543f77b540ed1673 (diff)
newforms-admin: Merged to [4563]
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@4565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
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]