diff options
author | W. Trevor King <wking@drexel.edu> | 2010-01-01 16:33:39 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-01-01 16:33:39 -0500 |
commit | 0679e0b1fd941d6aefef146fb4289472edee9b62 (patch) | |
tree | b1baf246dcfcf78a72f7be34d40e8a821f890038 /libbe/storage | |
parent | ecc2dd71287b46db316d8ef050a0bdb22bfc0fa5 (diff) | |
download | bugseverywhere-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')
-rw-r--r-- | libbe/storage/vcs/base.py | 2 |
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): |