From 60d3afe6b6814bb5d30c4d4d355451d3c15364ca Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Thu, 18 Nov 2010 00:03:39 -0500 Subject: Added __repr__ for JIDs. --- sleekxmpp/xmlstream/jid.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sleekxmpp/xmlstream/jid.py') 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) -- cgit v1.2.3