aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/bugdir.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-08-31 14:19:40 -0400
committerW. Trevor King <wking@drexel.edu>2009-08-31 14:19:40 -0400
commit027cda3613f7a81de557d6dd929d0d4de40192a1 (patch)
tree4c35f4b2b7f6105ab32dff41522b7eb041774d0e /libbe/bugdir.py
parente67058f13ce09ab6870c8bd8ebfa2f198bd06b47 (diff)
downloadbugseverywhere-027cda3613f7a81de557d6dd929d0d4de40192a1.tar.gz
Added docstrings to libbe submodules.
Also a few minor tweaks to the module imports.
Diffstat (limited to 'libbe/bugdir.py')
-rw-r--r--libbe/bugdir.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbe/bugdir.py b/libbe/bugdir.py
index af43917..c4f0f91 100644
--- a/libbe/bugdir.py
+++ b/libbe/bugdir.py
@@ -17,6 +17,11 @@
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+"""
+Define the BugDir class for representing bug comments.
+"""
+
import copy
import errno
import os
@@ -38,6 +43,7 @@ import settings_object
import upgrade
import utility
+
class NoBugDir(Exception):
def __init__(self, path):
msg = "The directory \"%s\" has no bug directory." % path