fix for demandimport

This commit is contained in:
Denis Fomin 2010-12-21 22:28:03 +03:00
parent e3e34fd57c
commit 6bf9497438

View file

@ -28,7 +28,7 @@ import tempfile
import defs import defs
HAVE_XDG = True HAVE_XDG = True
try: try:
import xdg.BaseDirectory __import__(xdg)
except: except:
HAVE_XDG = False HAVE_XDG = False