Added __repr__ for JIDs.
This commit is contained in:
parent
afeb8f3f7c
commit
60d3afe6b6
@ -121,3 +121,6 @@ class JID(object):
|
|||||||
def __str__(self):
|
def __str__(self):
|
||||||
"""Use the full JID as the string value."""
|
"""Use the full JID as the string value."""
|
||||||
return self.full
|
return self.full
|
||||||
|
|
||||||
|
def __repr__(self):
|
||||||
|
return str(self)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user