aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/vcs
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-01-01 16:33:39 -0500
committerW. Trevor King <wking@drexel.edu>2010-01-01 16:33:39 -0500
commit0679e0b1fd941d6aefef146fb4289472edee9b62 (patch)
treeb1baf246dcfcf78a72f7be34d40e8a821f890038 /libbe/storage/vcs
parentecc2dd71287b46db316d8ef050a0bdb22bfc0fa5 (diff)
downloadbugseverywhere-0679e0b1fd941d6aefef146fb4289472edee9b62.tar.gz
Use more kwargs in libbe.command.serve
kwargs make things easier to maintain. Also make sure the .handle_*() methods return two items (content,ctype) even when both are None.
Diffstat (limited to 'libbe/storage/vcs')
-rw-r--r--libbe/storage/vcs/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/storage/vcs/base.py b/libbe/storage/vcs/base.py
index e0d3170..8390cbc 100644
--- a/libbe/storage/vcs/base.py
+++ b/libbe/storage/vcs/base.py
@@ -800,7 +800,7 @@ os.listdir(self.get_path("bugs")):
try:
path = self._cached_path_id.path(id)
except InvalidID, e:
- raise e
+ raise
if not os.path.exists(path):
raise InvalidID(id)
if os.path.isdir(path):