Added a repr for Bug
authorAaron Bentley <abentley@panoramicfeedback.com>
Fri, 31 Mar 2006 22:31:38 +0000 (17:31 -0500)
committerAaron Bentley <abentley@panoramicfeedback.com>
Fri, 31 Mar 2006 22:31:38 +0000 (17:31 -0500)
libbe/bugdir.py

index 766ccd985288add46bc74a529cf15d62e8c3c82a..b78ec069f37362bd0bc5f3baf9f3f974fbb38216 100644 (file)
@@ -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)