Added __repr__ for JIDs.

This commit is contained in:
Lance Stout 2010-11-18 00:03:39 -05:00
parent afeb8f3f7c
commit 60d3afe6b6

View file

@ -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)