def _chunks(l, n):
	for i in range(0, len(l), n):
		yield l[i:i + n]
alternate: django-admin builtin commands fail with an import error when no settings provided
dataset/ETHPy150Open jleclanche/django-push-notifications/push_notifications/gcm.py/_chunks--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/admin_scripts/tests.py/DjangoAdminMultipleSettings.test_builtin_command