From: W. Trevor King Date: Fri, 1 Jan 2010 21:10:45 +0000 (-0500) Subject: Fixed some stupid typos in libbe/storage/http.py X-Git-Tag: 1.0.0~59^2~50^2~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4112da95162240eae73b00f53078451f5b38d610;p=be.git Fixed some stupid typos in libbe/storage/http.py --- 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):