From 699beb1ee5fd3a511cbf0c61fe67206a39f6dfe3 Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Fri, 31 Mar 2006 17:31:38 -0500 Subject: Added a repr for Bug --- libbe/bugdir.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libbe') 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) -- cgit