Advertisement
Guest User

TSergey, 2015-01-12, error

a guest
Jan 11th, 2015
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. File: pm/models/metricsettings.py (Line: 143)
  2. Function: get_effective_settings
  3. 136 return []
  4. 137 mt = {} # metric type -> metric item
  5. 138 mti = {} # metric type -> interval
  6. 139 for s in s_seq:
  7. 140 for ms in s.metric_sets:
  8. 141 if not ms.is_active:
  9. 142 continue
  10. 143 ==> for mi in ms.metric_set.get_effective_metrics():
  11. 144 mt[mi.metric_type] = mi
  12. 145 mti[mi.metric_type] = ms.metric_set.interval
  13. 146 r = []
  14. 147 cvars = {}
  15. 148 gc = getattr(object, "get_probe_config", None)
  16. 149 # Pass through router solution
  17. Variables:
  18. ps =
  19. trace = False
  20. s_seq = []
  21. p =
  22. object =
  23. p_field = 'object_profile'
  24. get_config =
  25. mt = {}
  26. s =
  27. mti = {}
  28. ms = repr() failed
  29. model_id = u'sa.ManagedObject'
  30. cls =
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement