Skip to content

Commit

Permalink
Fix 'self' usage in static methods
Browse files Browse the repository at this point in the history
Change-Id: Ib705b342d90753acd0e05002c804f2c460fffcc5
Closes-Bug: #1468367
  • Loading branch information
lebauce committed Jun 24, 2015
1 parent 84bd9c4 commit c9fda95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/svc-monitor/svc_monitor/config_db.py
Expand Up @@ -653,7 +653,7 @@ def delete(cls, uuid):
if uuid not in cls._dict:
return
obj = cls._dict[uuid]
self.update_multiple_refs('service_instance', {})
obj.update_multiple_refs('service_instance', {})
del cls._dict[uuid]
# end delete
# end ProjectSM
Expand Down Expand Up @@ -846,7 +846,7 @@ def delete(cls, uuid):
cls._manager.snat_agent.delete_snat_instance(obj)
obj.update_single_ref('service_instance', {})
obj.update_single_ref('virtual_network', {})
self.update_multiple_refs('virtual_machine_interface', {})
obj.update_multiple_refs('virtual_machine_interface', {})
del cls._dict[uuid]
# end delete
# end LogicalRouterSM
Expand Down

0 comments on commit c9fda95

Please sign in to comment.