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
HAVE_XDG = True
try:
import xdg.BaseDirectory
__import__(xdg)
except:
HAVE_XDG = False