diff options
author | Guido van Rossum <guido@python.org> | 1992-03-27 15:14:25 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-03-27 15:14:25 (GMT) |
commit | 26e67b0db84c834b1d69d3b90899904b773a1d4c (patch) | |
tree | 9034acbccc12ca24cd6b0461ff1256d70099cc83 /Lib/plat-irix5 | |
parent | 6ff2e90c518113433b3ecf34b8c17d434079a414 (diff) | |
download | cpython-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/plat-irix5')
-rwxr-xr-x | Lib/plat-irix5/FL.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Lib/plat-irix5/FL.py b/Lib/plat-irix5/FL.py index 100d05f..3142b1b 100755 --- a/Lib/plat-irix5/FL.py +++ b/Lib/plat-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 |