From 60d3afe6b6814bb5d30c4d4d355451d3c15364ca Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Thu, 18 Nov 2010 00:03:39 -0500 Subject: [PATCH] Added __repr__ for JIDs. --- sleekxmpp/xmlstream/jid.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sleekxmpp/xmlstream/jid.py b/sleekxmpp/xmlstream/jid.py index 33d845a..d8f45b9 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)