diff options
Diffstat (limited to '')
-rw-r--r-- | portato/backend/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/portato/backend/package.py b/portato/backend/package.py index c9f87ac..f288bef 100644 --- a/portato/backend/package.py +++ b/portato/backend/package.py @@ -27,6 +27,11 @@ class Package (_Package): @type cpv: string (cat/pkg-ver)""" self._cpv = cpv + + def __repr__ (self): + return "<Package '%s' @0x%x>" % (self._cpv, id(self)) + + __str__ = __repr__ # # implemented |