diff options
Diffstat (limited to 'libbe')
-rw-r--r-- | libbe/bugdir.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbe/bugdir.py b/libbe/bugdir.py index 766ccd9..b78ec06 100644 --- a/libbe/bugdir.py +++ b/libbe/bugdir.py @@ -242,6 +242,9 @@ class Bug(object): if self.time is not None: self.time = utility.str_to_time(self.time) + def __repr__(self): + return "Bug(uuid=%r)" % self.uuid + def get_path(self, file): return os.path.join(self.path, self.uuid, file) |