diff options
author | Aaron Bentley <abentley@panoramicfeedback.com> | 2006-08-11 12:07:10 -0400 |
---|---|---|
committer | Aaron Bentley <abentley@panoramicfeedback.com> | 2006-08-11 12:07:10 -0400 |
commit | 99993f498f2130b912f3418a72812d2bbacab68e (patch) | |
tree | 4f601151b48c994318cb75f112bf7cb93a9a6483 /libbe/bugdir.py | |
parent | 16acc74181767343289c729f668fb34d50212441 (diff) | |
parent | bb87321ddc66ca8c7e8f42007fa2f678f93988a6 (diff) | |
download | bugseverywhere-99993f498f2130b912f3418a72812d2bbacab68e.tar.gz |
Merge changes from Belchenko
Diffstat (limited to 'libbe/bugdir.py')
-rw-r--r-- | libbe/bugdir.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libbe/bugdir.py b/libbe/bugdir.py index 414b47e..4664c25 100644 --- a/libbe/bugdir.py +++ b/libbe/bugdir.py @@ -287,8 +287,11 @@ class Bug(object): return Comment(uuid, self) def iter_comment_ids(self): + path = self.get_path("comments") + if not os.path.isdir(path): + return try: - for uuid in os.listdir(self.get_path("comments")): + for uuid in os.listdir(path): if (uuid.startswith('.')): continue yield uuid |