Correction for Migrate version smaller than 0.7

This commit is contained in:
M2j 2011-10-22 14:30:21 +02:00
parent aa0b49290d
commit 5a415311a5

View File

@ -41,7 +41,7 @@ except ImportError:
PHONON_VERSION = u'-'
try:
import migrate
MIGRATE_VERSION = migrate.__version__
MIGRATE_VERSION = getattr(migrate, u'__version__', u'< 0.7')
except ImportError:
MIGRATE_VERSION = u'-'
try: