From cfd32fff7ce93e9182b43dff491713718effaff8 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 2 Apr 2013 15:03:17 -0700 Subject: [PATCH] test_mon_config_key.py: fix 'del' to clean up correctly internally --- qa/workunits/mon/test_mon_config_key.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/workunits/mon/test_mon_config_key.py b/qa/workunits/mon/test_mon_config_key.py index 7a7ebec21386..39f3a4fdb024 100755 --- a/qa/workunits/mon/test_mon_config_key.py +++ b/qa/workunits/mon/test_mon_config_key.py @@ -281,10 +281,10 @@ def main(): cmd += [ key ] opLOG.debug('key: {k}'.format(k=key)) run_cmd(cmd, expects=expected) - if op == 'existing': + if sop == 'existing': config_del.append(key) config_put.remove(key) - config_existing.erase(key) + del config_existing[key] continue elif op == 'exists': -- 2.47.3