summaryrefslogtreecommitdiffstats
path: root/Lib/irix5
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-03-27 15:14:25 (GMT)
committerGuido van Rossum <guido@python.org>1992-03-27 15:14:25 (GMT)
commit26e67b0db84c834b1d69d3b90899904b773a1d4c (patch)
tree9034acbccc12ca24cd6b0461ff1256d70099cc83 /Lib/irix5
parent6ff2e90c518113433b3ecf34b8c17d434079a414 (diff)
downloadcpython-26e67b0db84c834b1d69d3b90899904b773a1d4c.zip
cpython-26e67b0db84c834b1d69d3b90899904b773a1d4c.tar.gz
cpython-26e67b0db84c834b1d69d3b90899904b773a1d4c.tar.bz2
Don't import fl (it tries to initialize GL) but assume it's always v2.0.
Diffstat (limited to 'Lib/irix5')
-rwxr-xr-xLib/irix5/FL.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/Lib/irix5/FL.py b/Lib/irix5/FL.py
index 100d05f..3142b1b 100755
--- a/Lib/irix5/FL.py
+++ b/Lib/irix5/FL.py
@@ -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