Skip to content
This repository was archived by the owner on Nov 28, 2023. It is now read-only.

Conversation

@gnusec
Copy link

@gnusec gnusec commented May 3, 2018

  1. 由于config文件里头获取的参数type都是unicode,传入底层的getaddrinfo函数后会报错 getaddrinfo() argument 2 must be integer or string. 所以这里给port做个int转换.
  2. 邮件标题是中文的, 需要做一次编码, 避免邮件标题乱码.

@coveralls
Copy link

coveralls commented May 3, 2018

Pull Request Test Coverage Report for Build 427

  • 1 of 3 (33.33%) changed or added relevant lines in 1 file are covered.
  • 14 unchanged lines in 7 files lost coverage.
  • Overall coverage increased (+0.02%) to 41.641%

Changes Missing Coverage Covered Lines Changed/Added Lines %
cobra/send_mail.py 1 3 33.33%
Files with Coverage Reduction New Missed Lines %
cobra/send_mail.py 1 19.23%
cobra/log.py 2 44.93%
cobra/init.py 2 29.11%
cobra/cve.py 2 81.5%
cobra/export.py 2 60.0%
cobra/pickup.py 2 33.06%
cobra/utils.py 3 35.77%
Totals Coverage Status
Change from base Build 426: 0.02%
Covered Lines: 1609
Relevant Lines: 3864

💛 - Coveralls

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants