Repository : http://git.fedorahosted.org/cgit/cura-tools.git
On branch : master
>---------------------------------------------------------------
commit 85618b15426c5392300141841a3c667b9ff4e33f
Author: Peter Hatina <phatina(a)redhat.com>
Date: Wed Mar 6 10:47:53 2013 +0100
fix _lmi_indications type in cleanup
>---------------------------------------------------------------
cli-tools/lmi/lmi_client_shell.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/cli-tools/lmi/lmi_client_shell.py b/cli-tools/lmi/lmi_client_shell.py
index 98740c0..63a9dc2 100644
--- a/cli-tools/lmi/lmi_client_shell.py
+++ b/cli-tools/lmi/lmi_client_shell.py
@@ -73,11 +73,10 @@ def cast_lmi_to_cim(t, value):
# Register _lmi_indications_cleanup at script exit,
# so we drop all the indication subscriptions for now
def _lmi_indications_cleanup():
- "cleaning subscriptions"
global _lmi_indications
for subscription in _lmi_indications.values():
subscription.delete()
- _lmi_indications = []
+ _lmi_indications = {}
def _lmi_delete_indication(indication_name):
if not indication_name in _lmi_indications: