“0e31d7d71b330ef5335b17605ce6845d349fb5c9”上不存在“python/paddle/v2/fluid/tests/unittests/test_optimizer.py”
提交 d1d8b3e9 编写于 作者: F feilong

fix company email

上级 9e9b1441
因为 它太大了无法显示 source diff 。你可以改为 查看blob
因为 它太大了无法显示 source diff 。你可以改为 查看blob
因为 它太大了无法显示 source diff 。你可以改为 查看blob
因为 它太大了无法显示 source diff 。你可以改为 查看blob
因为 它太大了无法显示 source diff 。你可以改为 查看blob
因为 它太大了无法显示 source diff 。你可以改为 查看blob
...@@ -205,9 +205,7 @@ def rank_personal_top_n(config, ctx): ...@@ -205,9 +205,7 @@ def rank_personal_top_n(config, ctx):
email_parts = person['actor_email'].split("@") email_parts = person['actor_email'].split("@")
if len(email_parts) > 1 and email_parts[1] != "": if len(email_parts) > 1 and email_parts[1] != "":
post_fix = email_parts[len(email_parts)-1] company_by_email = email_parts[1].replace("..", ".")
post_parts = post_fix.replace("..", ".").split(".")
company_by_email = ".".join(post_parts[-2:])
person['company_by_email'] = company_by_email person['company_by_email'] = company_by_email
else: else:
person['company_by_email'] = "未知公司,邮箱错误" person['company_by_email'] = "未知公司,邮箱错误"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册