diff --git a/.travis.yml b/.travis.yml index 92611011..c450a638 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ install: - pip install pycodestyle - pip install dicttoxml script: -- pycodestyle --max-line-length=180 qcloud_cos/. +- pycodestyle --max-line-length=200 qcloud_cos/. - nosetests -s -v ut/ deploy: provider: pypi diff --git a/qcloud_cos/cos_client.py b/qcloud_cos/cos_client.py index d75e4932..02ade073 100644 --- a/qcloud_cos/cos_client.py +++ b/qcloud_cos/cos_client.py @@ -2784,7 +2784,6 @@ def _upload_part(self, bucket, key, local_path, offset, size, part_num, uploadid def _get_resumable_uploadid(self, bucket, key): """从服务端获取未完成的分块上传任务,获取断点续传的uploadid - params=urlencode(sorted(uri_params.items())).replace('+', '%20').replace('%7E', '~'), :param bucket(string): 存储桶名称. :param key(string): 分块上传路径名.