summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2008-07-14 04:57:01 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2008-07-14 04:57:01 +0000
commite867c5a0cc29977e926a836079061bf6a817f9af (patch)
treeebaed19d122a2d33fa2a5e058730db4f7b52c4b6 /tests/regressiontests/admin_scripts
parentb4cc77c73d56d5e16ddd1bb3dac69b129fc85eb3 (diff)
Removed a Python2.3 incompatible generator construct. Thanks to Karen Tracey for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/admin_scripts')
-rw-r--r--tests/regressiontests/admin_scripts/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/admin_scripts/tests.py b/tests/regressiontests/admin_scripts/tests.py
index 1bb0f7bed6..3ebcfbb6cd 100644
--- a/tests/regressiontests/admin_scripts/tests.py
+++ b/tests/regressiontests/admin_scripts/tests.py
@@ -53,7 +53,7 @@ class AdminScriptTestCase(unittest.TestCase):
# Build the command line
cmd = 'python "%s"' % script
- cmd += ''.join(' %s' % arg for arg in args)
+ cmd += ''.join([' %s' % arg for arg in args])
# Remember the old environment
old_django_settings_module = os.environ.get('DJANGO_SETTINGS_MODULE', None)