upyun / python-sdk

UPYUN Python SDK
117 stars 29 forks source link

Update httpipe.py #49

Closed mingcheng closed 7 years ago

mingcheng commented 7 years ago

在 Python 3.6 中运行错误, json.dumps 这个函数的定义第二个参数必须为 fp,参见 https://docs.python.org/3/library/json.html

huangnauh commented 7 years ago

thx!

upyun/modules/httpipe.py:93:80: E501 line too long (83 > 79 characters) 这行太长了

mingcheng commented 7 years ago

根据实际业务情况调整下吧,或许只要回传 sdk 的版本号就可以了。

huangnauh commented 7 years ago

业务情况? 根据 PEP8 E501 的要求, 这行太长了还是拆成两行比较好 :)

huangnauh commented 7 years ago

PEP8 E501 fixed in #50