{"issue":{"created_at":"2011-11-18T15:29:34Z","state":"closed","updated_at":"2011-11-21T08:54:04Z","user":{"gravatar_id":"0ef10322f39bbb2a6aef8cdfeb14d625","id":1204706,"url":"https://api.github.com/users/rootix2","login":"rootix2","avatar_url":"https://secure.gravatar.com/avatar/0ef10322f39bbb2a6aef8cdfeb14d625?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"Problem if imported_from is not defined :\r\nFile \"/opt/shinken/shinken/objects/item.py\", line 648, in is_correct\r\n    safe_print(\"Error: the\", i.__class__.my_type, i.get_name(), \"is duplicated from\", i.imported_from)\r\nAttributeError: imported_from\r\n\r\nI suggest to replace in item.py :\r\n                safe_print(\"Error: the\", i.__class__.my_type, i.get_name(), \"is duplicated from\", i.imported_from)\r\nby :\r\n                safe_print(\"Error: the\", i.__class__.my_type, i.get_name(), \"is duplicated from\", getattr(i, 'imported_from', \"unknown\"))","assignee":null,"id":2281146,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":80,"labels":[],"title":"AttributeError: imported_from","closed_at":"2011-11-21T08:54:04Z","html_url":"https://github.com/naparuba/shinken/issues/80","milestone":null,"url":"https://api.github.com/repos/naparuba/shinken/issues/80"},"action":"closed"}