diff options
author | Lance Stout <lancestout@gmail.com> | 2010-11-18 00:03:39 -0500 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2010-11-18 00:03:39 -0500 |
commit | 60d3afe6b6814bb5d30c4d4d355451d3c15364ca (patch) | |
tree | c7fb1953697d3224406885ff09a89bcd84c2da64 /sleekxmpp/xmlstream/jid.py | |
parent | afeb8f3f7c1edade3c33003ad776758c77c8706c (diff) | |
download | slixmpp-60d3afe6b6814bb5d30c4d4d355451d3c15364ca.tar.gz slixmpp-60d3afe6b6814bb5d30c4d4d355451d3c15364ca.tar.bz2 slixmpp-60d3afe6b6814bb5d30c4d4d355451d3c15364ca.tar.xz slixmpp-60d3afe6b6814bb5d30c4d4d355451d3c15364ca.zip |
Added __repr__ for JIDs.
Diffstat (limited to 'sleekxmpp/xmlstream/jid.py')
-rw-r--r-- | sleekxmpp/xmlstream/jid.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sleekxmpp/xmlstream/jid.py b/sleekxmpp/xmlstream/jid.py index 33d845a0..d8f45b92 100644 --- a/sleekxmpp/xmlstream/jid.py +++ b/sleekxmpp/xmlstream/jid.py @@ -121,3 +121,6 @@ class JID(object): def __str__(self): """Use the full JID as the string value.""" return self.full + + def __repr__(self): + return str(self) |