projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e804da
)
test_web.py: fix pyflakes error
author
Brian Warner
<warner@lothar.com>
Tue, 25 Dec 2007 08:56:04 +0000
(
01:56
-0700)
committer
Brian Warner
<warner@lothar.com>
Tue, 25 Dec 2007 08:56:04 +0000
(
01:56
-0700)
src/allmydata/test/test_web.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_web.py
b/src/allmydata/test/test_web.py
index f6345d99a88e33216780770af19bee55fe3d75dc..edf7ad2b6d29f438ca7574d21448cc6278ccc3ab 100644
(file)
--- a/
src/allmydata/test/test_web.py
+++ b/
src/allmydata/test/test_web.py
@@
-217,7
+217,7
@@
class WebMixin(object):
assert substring is None or isinstance(substring, str)
d = defer.maybeDeferred(callable, *args, **kwargs)
def done(res):
- if isinstance(res, Failure):
+ if isinstance(res,
failure.
Failure):
res.trap(expected_failure)
if substring:
self.failUnless(substring in str(res),