Added __repr__ for JIDs.
This commit is contained in:
parent
afeb8f3f7c
commit
60d3afe6b6
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue