]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Don't import fl (it tries to initialize GL) but assume it's always v2.0.
authorGuido van Rossum <guido@python.org>
Fri, 27 Mar 1992 15:14:25 +0000 (15:14 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 27 Mar 1992 15:14:25 +0000 (15:14 +0000)
Lib/irix5/FL.py
Lib/plat-irix5/FL.py

index 100d05f0e33841ca67fa561d74e9c925a9a9eaed..3142b1b21d42e92fd44796346e9c2c1d2e68511b 100755 (executable)
@@ -3,12 +3,13 @@
 # Recommended use: import FL; ... FL.NORMAL_BOX ... etc.
 # Alternate use: from FL import *; ... NORMAL_BOX ... etc.
 
-import fl
-try:
-       _v20 = (fl.get_rgbmode <> None)
-except:
-       _v20 = 0
-del fl
+_v20 = 1
+##import fl
+##try:
+##     _v20 = (fl.get_rgbmode <> None)
+##except:
+##     _v20 = 0
+##del fl
 
 NULL = 0
 FALSE = 0
index 100d05f0e33841ca67fa561d74e9c925a9a9eaed..3142b1b21d42e92fd44796346e9c2c1d2e68511b 100755 (executable)
@@ -3,12 +3,13 @@
 # Recommended use: import FL; ... FL.NORMAL_BOX ... etc.
 # Alternate use: from FL import *; ... NORMAL_BOX ... etc.
 
-import fl
-try:
-       _v20 = (fl.get_rgbmode <> None)
-except:
-       _v20 = 0
-del fl
+_v20 = 1
+##import fl
+##try:
+##     _v20 = (fl.get_rgbmode <> None)
+##except:
+##     _v20 = 0
+##del fl
 
 NULL = 0
 FALSE = 0