Added __repr__ for JIDs.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user