summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Fritz <fritzy@netflint.net>2009-07-11 19:51:04 +0000
committerNathan Fritz <fritzy@netflint.net>2009-07-11 19:51:04 +0000
commitd9b812a73bacdd12b432eedb24edc7de565f6feb (patch)
tree82ce09b3f41027e29e440cb039c4e59c16978afa
parenta3b94d51fb3d646859ecb5c50801ccbd066f858f (diff)
downloadslixmpp-d9b812a73bacdd12b432eedb24edc7de565f6feb.tar.gz
slixmpp-d9b812a73bacdd12b432eedb24edc7de565f6feb.tar.bz2
slixmpp-d9b812a73bacdd12b432eedb24edc7de565f6feb.tar.xz
slixmpp-d9b812a73bacdd12b432eedb24edc7de565f6feb.zip
fixed relative import
-rwxr-xr-xsleekxmpp/componentxmpp.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/sleekxmpp/componentxmpp.py b/sleekxmpp/componentxmpp.py
index 49aa83ea..8eaa1408 100755
--- a/sleekxmpp/componentxmpp.py
+++ b/sleekxmpp/componentxmpp.py
@@ -24,10 +24,11 @@ from . basexmpp import basexmpp
from xml.etree import cElementTree as ET
# some servers use different namespaces for components -- this is a hack, but is there for compatibility
-from . import xmlstream.matcher.xmlmask
-from . import xmlstream.matcher.xpath
-xmlstream.matcher.xmlmask.ignore_ns = True
-xmlstream.matcher.xpath.ignore_ns = True
+from . xmlstream.matcher import xmlmask
+from . xmlstream.matcher import xpath
+
+xmlmask.ignore_ns = True
+xpath.ignore_ns = True
# ----------
from . xmlstream.xmlstream import XMLStream