fixed relative import

This commit is contained in:
Nathan Fritz 2009-07-11 19:51:04 +00:00
parent a3b94d51fb
commit d9b812a73b

View file

@ -24,10 +24,11 @@ from . basexmpp import basexmpp
from xml.etree import cElementTree as ET from xml.etree import cElementTree as ET
# some servers use different namespaces for components -- this is a hack, but is there for compatibility # some servers use different namespaces for components -- this is a hack, but is there for compatibility
from . import xmlstream.matcher.xmlmask from . xmlstream.matcher import xmlmask
from . import xmlstream.matcher.xpath from . xmlstream.matcher import xpath
xmlstream.matcher.xmlmask.ignore_ns = True
xmlstream.matcher.xpath.ignore_ns = True xmlmask.ignore_ns = True
xpath.ignore_ns = True
# ---------- # ----------
from . xmlstream.xmlstream import XMLStream from . xmlstream.xmlstream import XMLStream