aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-01-01 16:10:45 -0500
committerW. Trevor King <wking@drexel.edu>2010-01-01 16:10:45 -0500
commit4112da95162240eae73b00f53078451f5b38d610 (patch)
treeb36e78807f160dd4208ce1034a827149e4bae7f0 /libbe
parentd7a8c4bc0ad6b96bad5ee1ff71602fcd3c70b678 (diff)
downloadbugseverywhere-4112da95162240eae73b00f53078451f5b38d610.tar.gz
Fixed some stupid typos in libbe/storage/http.py
Diffstat (limited to 'libbe')
-rw-r--r--libbe/storage/http.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/storage/http.py b/libbe/storage/http.py
index bc9af35..98a824d 100644
--- a/libbe/storage/http.py
+++ b/libbe/storage/http.py
@@ -176,9 +176,9 @@ class HTTP (base.VersionedStorage):
except InvalidURL, e:
if not (hasattr(e.error, 'code') and e.error.code in HTTP_VALID):
raise
- if self.e.error.code == HTTP_USER_ERROR:
+ if e.error.code == HTTP_USER_ERROR:
raise base.InvalidDirectory(
- 'Directory %s cannot have data' % self.id)
+ 'Directory %s cannot have data' % id)
raise base.InvalidID(id)
def _commit(self, summary, body=None, allow_empty=False):