1
0
mirror of https://github.com/django/django.git synced 2025-10-27 23:56:08 +00:00

Removed support for Python 3.3.

This commit is contained in:
Tim Graham
2015-06-15 09:43:35 -04:00
parent e5cb4e1411
commit 7f1168e387
17 changed files with 44 additions and 65 deletions

View File

@@ -55,7 +55,7 @@ class AppConfig(object):
"""Attempt to determine app's filesystem path from its module."""
# See #21874 for extended discussion of the behavior of this method in
# various cases.
# Convert paths to list because Python 3.3 _NamespacePath does not
# Convert paths to list because Python 3's _NamespacePath does not
# support indexing.
paths = list(getattr(module, '__path__', []))
if len(paths) != 1: