From e90b5dbdd62fe3785faa0f131180a3c031aaaac7 Mon Sep 17 00:00:00 2001 From: GRiker Date: Wed, 3 Oct 2012 08:10:50 -0600 Subject: [PATCH] Included OS X Lion (10.7) in special-casing establish_equivalencies(), as it also fails with curly apostrophes --- src/calibre/library/catalogs/epub_mobi_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/library/catalogs/epub_mobi_builder.py b/src/calibre/library/catalogs/epub_mobi_builder.py index baa28d5974..1d806df3b2 100644 --- a/src/calibre/library/catalogs/epub_mobi_builder.py +++ b/src/calibre/library/catalogs/epub_mobi_builder.py @@ -644,7 +644,7 @@ class CatalogBuilder(object): c = item ordnum, ordlen = collation_order(c) - if isosx and platform.mac_ver()[0] < '10.7': + if isosx and platform.mac_ver()[0] < '10.8': # Hackhackhackhackhack # icu returns bogus results with curly apostrophes, maybe others under OS X 10.6.x # When we see the magic combo of 0/-1 for ordnum/ordlen, special case the logic