{"action":"closed","issue":{"url":"https://api.github.com/repos/joxeankoret/diaphora/issues/55","repository_url":"https://api.github.com/repos/joxeankoret/diaphora","labels_url":"https://api.github.com/repos/joxeankoret/diaphora/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/joxeankoret/diaphora/issues/55/comments","events_url":"https://api.github.com/repos/joxeankoret/diaphora/issues/55/events","html_url":"https://github.com/joxeankoret/diaphora/issues/55","id":144701820,"number":55,"title":"ZeroDivisionError: integer division or modulo by zero, for small number of functions","user":{"login":"lmolas-sadosky","id":10407385,"avatar_url":"https://avatars.githubusercontent.com/u/10407385?v=3","gravatar_id":"","url":"https://api.github.com/users/lmolas-sadosky","html_url":"https://github.com/lmolas-sadosky","followers_url":"https://api.github.com/users/lmolas-sadosky/followers","following_url":"https://api.github.com/users/lmolas-sadosky/following{/other_user}","gists_url":"https://api.github.com/users/lmolas-sadosky/gists{/gist_id}","starred_url":"https://api.github.com/users/lmolas-sadosky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmolas-sadosky/subscriptions","organizations_url":"https://api.github.com/users/lmolas-sadosky/orgs","repos_url":"https://api.github.com/users/lmolas-sadosky/repos","events_url":"https://api.github.com/users/lmolas-sadosky/events{/privacy}","received_events_url":"https://api.github.com/users/lmolas-sadosky/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-30T19:51:25Z","updated_at":"2016-04-04T08:01:49Z","closed_at":"2016-04-04T08:01:49Z","body":"Hi, when the number of functions to be exported is under 10, the division:\r\n\r\n[`if i % (total_funcs/10) == 0:`][1]\r\n\r\nis returning zero (for Python 2.x), causing the above error.\r\n\r\nLucas\r\n\r\n[1]: https://github.com/joxeankoret/diaphora/blob/master/diaphora.py#L1535\r\n"}}