| Index: third_party/gsutil/third_party/apitools/apitools/base/py/list_pager.py
|
| diff --git a/third_party/gsutil/third_party/apitools/apitools/base/py/list_pager.py b/third_party/gsutil/third_party/apitools/apitools/base/py/list_pager.py
|
| old mode 100755
|
| new mode 100644
|
| index cf90389f8819ca44e6b121d0b838b7f163849553..85c25945f0d3ce6bc0982820936198ad30462379
|
| --- a/third_party/gsutil/third_party/apitools/apitools/base/py/list_pager.py
|
| +++ b/third_party/gsutil/third_party/apitools/apitools/base/py/list_pager.py
|
| @@ -1,7 +1,7 @@
|
| #!/usr/bin/env python
|
| """A helper function that executes a series of List queries for many APIs."""
|
|
|
| -import copy
|
| +from apitools.base.py import encoding
|
|
|
| __all__ = [
|
| 'YieldFromList',
|
| @@ -41,7 +41,7 @@ def YieldFromList(
|
| protorpc.message.Message, The resources listed by the service.
|
|
|
| """
|
| - request = copy.deepcopy(request)
|
| + request = encoding.CopyProtoMessage(request)
|
| setattr(request, batch_size_attribute, batch_size)
|
| setattr(request, current_token_attribute, None)
|
| while limit is None or limit:
|
|
|