diff options
| author | Brian Schott <bfschott@gmail.com> | 2011-02-16 21:29:52 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-02-16 21:29:52 +0000 |
| commit | 2f79a9e57474bbe16085726eaeff47ba93e95e1d (patch) | |
| tree | 900c53ebb14d8cc8979d273710395eb069edbd0c /Authors | |
| parent | 1016379757919e2bfbea6255edbca86048796c4e (diff) | |
| parent | 9be342534ee54f86c274f03d1d4a0c310f08e4ae (diff) | |
-from migrate.versioning import exceptions as versioning_exceptions
+
+try:
+ from migrate.versioning import exceptions as versioning_exceptions
+except ImportError:
+ try:
+ # python-migration changed location of exceptions after 1.6.3
+ # See LP Bug #717467
+ from migrate import exceptions as versioning_exceptions
+ except ImportError:
+ sys.exit(_("python-migrate is not installed. Exiting."))
Diffstat (limited to 'Authors')
| -rw-r--r-- | Authors | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4,6 +4,7 @@ Anthony Young <sleepsonthefloor@gmail.com> Antony Messerli <ant@openstack.org> Armando Migliaccio <Armando.Migliaccio@eu.citrix.com> Bilal Akhtar <bilalakhtar@ubuntu.com> +Brian Schott <bschott@isi.edu> <bfschott@gmail.com> Chiradeep Vittal <chiradeep@cloud.com> Chmouel Boudjnah <chmouel@chmouel.com> Chris Behrens <cbehrens@codestud.com> |
