提交 1478e664 编写于 作者: X Xin Pan

higher review requirement for adding new APIs

上级 66be5326
...@@ -20,8 +20,6 @@ for each_diff in result: ...@@ -20,8 +20,6 @@ for each_diff in result:
if each_diff[0] in ['-', '?']: # delete or change API is not allowed if each_diff[0] in ['-', '?']: # delete or change API is not allowed
error = True error = True
elif each_diff[0] == '+': elif each_diff[0] == '+':
# only new layers is allowed.
if not each_diff.startswith('+ paddle.fluid.layers.'):
error = True error = True
if each_diff[0] != ' ': if each_diff[0] != ' ':
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册