diff --git a/src/allmydata/scripts/tahoe_mv.py b/src/allmydata/scripts/tahoe_mv.py index 08618cb1f..cd54f7a70 100644 --- a/src/allmydata/scripts/tahoe_mv.py +++ b/src/allmydata/scripts/tahoe_mv.py @@ -66,7 +66,7 @@ def mv(options, mode="move"): if mode == "move": # now remove the original resp = do_http("DELETE", from_url) - if not re.search(r'^2\d\d$', str(status)): + if not re.search(r'^2\d\d$', str(resp.status)): print >>stderr, format_http_error("Error deleting original after move", resp) return 2