From: nejucomo Date: Mon, 21 Jan 2008 03:10:31 +0000 (-0700) Subject: tahoe_fuse: system test: webapi connection: bug fix and small log output change. X-Git-Tag: allmydata-tahoe-0.8.0~238 X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/flags/cyclelanguage?a=commitdiff_plain;h=ba4458d502762815c7d9f35a46a382f440d3ab67;p=tahoe-lafs%2Ftahoe-lafs.git tahoe_fuse: system test: webapi connection: bug fix and small log output change. --- diff --git a/contrib/fuse/runtests.py b/contrib/fuse/runtests.py index 97b8d481..078cfbfe 100644 --- a/contrib/fuse/runtests.py +++ b/contrib/fuse/runtests.py @@ -212,11 +212,11 @@ class SystemTest (object): conn = httplib.HTTPConnection('127.0.0.1', client.port) conn.request('PUT', '/uri?t=mkdir') resp = conn.getresponse() - if resp.status == '200': + if resp.status == 200: return resp.read().strip() else: # FIXME: This output can be excessive! - print 'HTTP %s reponse while attempting to make node.' % resp.status + print 'HTTP %r reponse while attempting to make node.' % (resp.status,) print resp.read() return False # make another polling attempt...