Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def remove(self, app, leaveObjects=False):
- Device._relations = tuple(
- [x for x in Device._relations if x[0] != '<componentname>'])
- self.rebuildRelations(app.zport.dmd)
- super(ZenPack, self).remove(app, leaveObjects)
- def rebuildRelations(self, dmd):
- for d in dmd.Devices.getSubDevices():
- d.buildRelations()
- d.os.buildRelations()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement