aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2006-03-31 17:31:38 -0500
committerAaron Bentley <abentley@panoramicfeedback.com>2006-03-31 17:31:38 -0500
commit699beb1ee5fd3a511cbf0c61fe67206a39f6dfe3 (patch)
tree6e3dc288346280404fcf576eb84032ad0af81cb6 /libbe
parent5e14fbb9f2cae0c2f73232fb40d48b06e5a3d04b (diff)
downloadbugseverywhere-699beb1ee5fd3a511cbf0c61fe67206a39f6dfe3.tar.gz
Added a repr for Bug
Diffstat (limited to 'libbe')
-rw-r--r--libbe/bugdir.py3
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)