projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e14fbb
)
Added a repr for Bug
author
Aaron Bentley
<abentley@panoramicfeedback.com>
Fri, 31 Mar 2006 22:31:38 +0000
(17:31 -0500)
committer
Aaron Bentley
<abentley@panoramicfeedback.com>
Fri, 31 Mar 2006 22:31:38 +0000
(17:31 -0500)
libbe/bugdir.py
patch
|
blob
|
history
diff --git
a/libbe/bugdir.py
b/libbe/bugdir.py
index 766ccd985288add46bc74a529cf15d62e8c3c82a..b78ec069f37362bd0bc5f3baf9f3f974fbb38216 100644
(file)
--- 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)