projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7a8c4b
)
Fixed some stupid typos in libbe/storage/http.py
author
W. Trevor King
<wking@drexel.edu>
Fri, 1 Jan 2010 21:10:45 +0000
(16:10 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 1 Jan 2010 21:10:45 +0000
(16:10 -0500)
libbe/storage/http.py
patch
|
blob
|
history
diff --git
a/libbe/storage/http.py
b/libbe/storage/http.py
index bc9af351450e26ca9ac3f04c424e066fa8ccebb1..98a824d53b1d3515ca680028fef37f6a67ca8dba 100644
(file)
--- 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):