fixed #2 Python 2.6, sys.version.major test fails (not a tuple)

This commit is contained in:
Daniele Procida 2013-11-12 21:15:39 +01:00
parent 17774ec4b4
commit 47978e9d67
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ from django.core import exceptions
from ..forms.fields import MultiSelectFormField
if sys.version_info.major == 2:
if sys.version_info[0] == 2:
string = basestring
string_type = unicode
else: