Skip to content

Conversation

@ym
Copy link
Contributor

@ymym commented May 10, 2019

No description provided.

@ymym merged commit 1b8daf9 into masterMay 10, 2019
Copy link
Contributor

@weakishweakish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#402 中改了

raise LeanCloudError(1, "the file is not sucessfully destroyed")

def _save_to_qiniu_internal_py3(self, token, key):
from qiniu.services.storage.uploader import crc32, _form_put, put_data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_save_to_qiniu_internal_py3 看上去没用到 put_data,可以不用 import ?

final_data = tmp_data
else:
final_data += tmp_data
else:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个 else 语句可以直接去掉?因为循环的条件是 while True

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@ym@weakish