From 7ae432abf85f96d34966b60f6ec9ef53294389d9 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Wed, 21 May 2008 12:09:13 -0700 Subject: [PATCH] tahoe_cp.py: fix pyflakes complaint --- src/allmydata/scripts/tahoe_cp.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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): -- 2.45.2