diff --git a/troubleshooter/troubleshooter/migrator/api_dump/ad_dump/hooks.py b/troubleshooter/troubleshooter/migrator/api_dump/ad_dump/hooks.py index 426aa81b80eab829f1b464c182e0f9db1b3b933f..050321bb8733fc4faea52bde5152be1367fe2eb5 100644 --- a/troubleshooter/troubleshooter/migrator/api_dump/ad_dump/hooks.py +++ b/troubleshooter/troubleshooter/migrator/api_dump/ad_dump/hooks.py @@ -28,11 +28,10 @@ def acc_cmp_dump(name, **kwargs): pid = kwargs.get('pid') DumpUtil.dump_config = kwargs.get('dump_config') name_template = name - overflow_flag = kwargs.get('overflow') if not pid: return RuntimeError("Not get the specified process pid.") - def acc_cmp_hook(cell, in_feat, out_feat, overflow_flag): + def acc_cmp_hook(cell, in_feat, out_feat): nonlocal name, name_template global NNCount if "{}_" in name_template: