diff options
author | Aaron Bentley <abentley@panoramicfeedback.com> | 2006-03-31 17:31:38 -0500 |
---|---|---|
committer | Aaron Bentley <abentley@panoramicfeedback.com> | 2006-03-31 17:31:38 -0500 |
commit | 699beb1ee5fd3a511cbf0c61fe67206a39f6dfe3 (patch) | |
tree | 6e3dc288346280404fcf576eb84032ad0af81cb6 /libbe/bugdir.py | |
parent | 5e14fbb9f2cae0c2f73232fb40d48b06e5a3d04b (diff) | |
download | bugseverywhere-699beb1ee5fd3a511cbf0c61fe67206a39f6dfe3.tar.gz |
Added a repr for Bug
Diffstat (limited to 'libbe/bugdir.py')
-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) |