From: Brian Warner Date: Wed, 21 May 2008 19:09:13 +0000 (-0700) Subject: tahoe_cp.py: fix pyflakes complaint X-Git-Tag: allmydata-tahoe-1.1.0~87 X-Git-Url: https://git.rkrishnan.org/specifications/index.php?a=commitdiff_plain;h=7ae432abf85f96d34966b60f6ec9ef53294389d9;p=tahoe-lafs%2Ftahoe-lafs.git tahoe_cp.py: fix pyflakes complaint --- diff --git a/src/allmydata/scripts/tahoe_cp.py b/src/allmydata/scripts/tahoe_cp.py index 661272af..c354a40b 100644 --- a/src/allmydata/scripts/tahoe_cp.py +++ b/src/allmydata/scripts/tahoe_cp.py @@ -284,8 +284,7 @@ class TahoeDirectoryTarget: # TODO: this always creates immutable files. We might want an option # to always create mutable files, or to copy mutable files into new # mutable files. - resp = do_http("PUT", url, inf) - filecap = check_PUT(resp) + filecap = PUT(url, inf) self.new_children[name] = filecap def put_uri(self, name, filecap):