summaryrefslogtreecommitdiff
path: root/lib/python2.7/plat-mac/Carbon/Qt.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python2.7/plat-mac/Carbon/Qt.py')
-rw-r--r--lib/python2.7/plat-mac/Carbon/Qt.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/python2.7/plat-mac/Carbon/Qt.py b/lib/python2.7/plat-mac/Carbon/Qt.py
new file mode 100644
index 0000000..590a92a
--- /dev/null
+++ b/lib/python2.7/plat-mac/Carbon/Qt.py
@@ -0,0 +1,5 @@
+from _Qt import *
+try:
+ _ = AddFilePreview
+except:
+ raise ImportError, "Old (2.3) _Qt.so module loaded in stead of new (2.4) _Qt.so"