Guest User

Untitled

a guest
Aug 20th, 2014
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. # Add exception in Products/ZenModel/RRDTemplate.py (line ~493):
  2. thresholdClasses += zp.getThresholdClasses()
  3.  
  4. # change it:
  5. try:
  6.     thresholdClasses += zp.getThresholdClasses()
  7. except AttributeError:
  8.     log.exception("AttributeError for getThresholdClasses() - zenpack:" + zp.id)
Advertisement
Add Comment
Please, Sign In to add comment