diff options
author | Jacek Konieczny <jajcus@jajcus.net> | 2003-06-04 16:08:42 +0400 |
---|---|---|
committer | Jacek Konieczny <jajcus@jajcus.net> | 2003-06-04 16:08:42 +0400 |
commit | a7e1df82e0128bec42555a0669970420741fb8ae (patch) | |
tree | 5acc8a8933035713c1fc221d5c19281ee454fe5d /examples | |
parent | b1841efa5c244ec8ed42d1f097cb1afa8876d8e2 (diff) |
- source tree reorganization
Diffstat (limited to 'examples')
-rw-r--r-- | examples/.cvsignore | 3 | ||||
-rw-r--r-- | examples/test.py | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/examples/.cvsignore b/examples/.cvsignore new file mode 100644 index 0000000..0e0a03c --- /dev/null +++ b/examples/.cvsignore @@ -0,0 +1,3 @@ +.memdump +*.pyc +pyxmpp diff --git a/examples/test.py b/examples/test.py index 9dd3558..1e51a81 100644 --- a/examples/test.py +++ b/examples/test.py @@ -27,8 +27,9 @@ class Stream(ClientStream): libxml2.debugMemory(1) print "creating stream..." +s=Stream(JID("test@localhost/Test"),u"123") #s=Stream(JID(unicode("¿ó³tek","iso-8859-2"),"localhost","Test"),unicode("zieleñ","iso-8859-2")) -s=Stream(JID("pyxmpp","jabberd.jabberstudio.org","Test"),"123",port=15222,auth_methods=["sasl:DIGEST-MD5","digest","plain"]) +#s=Stream(JID("pyxmpp","jabberd.jabberstudio.org","Test"),"123",port=15222,auth_methods=["sasl:DIGEST-MD5","digest","plain"]) print "connecting..." s.connect() |