From: Dan Mick Date: Tue, 2 Apr 2013 22:03:17 +0000 (-0700) Subject: test_mon_config_key.py: fix 'del' to clean up correctly internally X-Git-Tag: v0.62~105^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cfd32fff7ce93e9182b43dff491713718effaff8;p=ceph.git test_mon_config_key.py: fix 'del' to clean up correctly internally --- 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':