]> granicus.if.org Git - python/commitdiff
Added the rgb.txt file from X11R6.4, including the license
authorBarry Warsaw <barry@python.org>
Tue, 6 Oct 1998 20:44:14 +0000 (20:44 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 6 Oct 1998 20:44:14 +0000 (20:44 +0000)
Tools/pynche/Main.py

index 4877adc6b037beedd0d40ef951b691adf2a4e1fa..bbf5533881b598ee1d797831b618d4e8934d3a3f 100644 (file)
@@ -33,6 +33,7 @@ Where:
 __version__ = '1.0'
 
 import sys
+import os
 import getopt
 import ColorDB
 from PyncheWidget import PyncheWidget
@@ -49,6 +50,8 @@ PROGRAM = sys.argv[0]
 RGB_TXT = [
     # Solaris OpenWindows
     '/usr/openwin/lib/rgb.txt',
+    # The X11R6.4 rgb.txt file
+    os.path.join(sys.path[0], 'rgb.txt'),
     # add more here
     ]