From c986f0661741aca7d61d73518aa6a46be3767f72 Mon Sep 17 00:00:00 2001 From: 0YuanZhang0 <953963890@qq.com> Date: Mon, 30 Sep 2019 11:15:33 +0800 Subject: [PATCH] fix_py3_attr --- utils/configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/configure.py b/utils/configure.py index 2d63b0b..99c04da 100644 --- a/utils/configure.py +++ b/utils/configure.py @@ -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): -- GitLab