未验证 提交 5b38c007 编写于 作者: 0 0YuanZhang0 提交者: GitHub

Merge pull request #7 from 0YuanZhang0/fix_py3_attr

fix_py3_attr
......@@ -288,7 +288,7 @@ class PDConfig(object):
if name in self.yaml_config:
return self.yaml_config[name]
raise Warning("The argument %s is not defined." % name)
raise AttributeError("The argument %s is not defined." % name)
def Print(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册