try:
    from collections import OrderedDict
except:
    from sleekxmpp.thirdparty.ordereddict import OrderedDict