Permalink
Browse files

typo fix in ZenPack removal code

  • Loading branch information...
danielrobbins committed Mar 27, 2013
1 parent 42af7d8 commit 2f5af88902b33b1bf08b2f669b8ecdc0f05ceef7
Showing with 1 addition and 1 deletion.
  1. +1 −1 ZenPacks/community/SNMPLocation/__init__.py
@@ -90,7 +90,7 @@ def remove_plugin_from_device_or_class(self, d, plugin):
if plugin in plugins:
log.info('Removing %s modeler plugin from %s', plugin, d.id)
plugins.remove(plugin)
- dc.setZenProperty('zCollectorPlugins', plugins)
+ d.setZenProperty('zCollectorPlugins', plugins)
def enable_modeler_plugins(self, dmd, myplugin_iter, mydev_iter):
"""Enable modeler plugin(s) (main method)"""

0 comments on commit 2f5af88

Please sign in to comment.