use pygtk.require to determine database

svn: r1205
This commit is contained in:
Don Allingham
2002-11-26 04:06:23 +00:00
parent b6926fa77b
commit d21a317b93
55 changed files with 961 additions and 43 deletions

View File

@@ -27,6 +27,11 @@ import string
# Check for the python imaging library
#
#-------------------------------------------------------------------------
try:
import pygtk; pygtk.require('2.0')
except ImportError: # not set up for parallel install
pass
try:
import PIL.Image
import StringIO
@@ -34,10 +39,7 @@ try:
no_pil = 0
except:
import popen2
# import GDK
# import GTK
import gtk
# import GdkImlib
no_pil = 1
class ImgManip: