diff --git a/swift/proxy/controllers/obj.py b/swift/proxy/controllers/obj.py index afb59ecd4a..6bec505f32 100644 --- a/swift/proxy/controllers/obj.py +++ b/swift/proxy/controllers/obj.py @@ -2263,7 +2263,7 @@ class ECObjectController(BaseObjectController): for client_start, client_end in req.range.ranges: # TODO: coalesce ranges that overlap segments. For # example, "bytes=0-10,20-30,40-50" with a 64 KiB - # segment size will result in a a Range header in the + # segment size will result in a Range header in the # object request of "bytes=0-65535,0-65535,0-65535", # which is wasteful. We should be smarter and only # request that first segment once. diff --git a/test/unit/obj/test_replicator.py b/test/unit/obj/test_replicator.py index da94c2ca6a..5798392617 100644 --- a/test/unit/obj/test_replicator.py +++ b/test/unit/obj/test_replicator.py @@ -791,7 +791,7 @@ class TestObjectReplicator(unittest.TestCase): self.assertEqual('1', jobs[0]['partition']) def test_handoffs_first_mode_will_process_all_jobs_after_handoffs(self): - # make a object in the handoff & primary partition + # make an object in the handoff & primary partition expected_suffix_paths = [] for policy in POLICIES: # primary