Skip to content

Commit

Permalink
Fix a type and copy & paste leftover.
Browse files Browse the repository at this point in the history
  • Loading branch information
cluther committed Dec 29, 2011
1 parent 00372fd commit 4856850
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ZenPacks/zenoss/RabbitMQ/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def install(self, app):

def remove(self, app, leaveObjects=False):
if not leaveObjects:
# Remote our Device relations additions.
# Remove our Device relations additions.
Device._relations = tuple(
[x for x in Device._relations \
if x[0] not in NEW_DEVICE_RELATIONS])
Expand All @@ -64,7 +64,7 @@ def _buildDeviceRelations(self):
d.buildRelations()


# We need to filter CloudStack components by id instead of name.
# We need to filter RabbitMQ components by id instead of name.
EventManagerBase.ComponentIdWhere = (
"\"(device = '%s' and component = '%s')\""
" % (me.device().getDmdKey(), me.id)")

0 comments on commit 4856850

Please sign in to comment.