{"action":"opened","issue":{"url":"https://api.github.com/repos/sdementen/piecash/issues/76","repository_url":"https://api.github.com/repos/sdementen/piecash","labels_url":"https://api.github.com/repos/sdementen/piecash/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/sdementen/piecash/issues/76/comments","events_url":"https://api.github.com/repos/sdementen/piecash/issues/76/events","html_url":"https://github.com/sdementen/piecash/issues/76","id":299032329,"number":76,"title":"Incorrect assertion:","user":{"login":"jchonig","id":4303886,"avatar_url":"https://avatars3.githubusercontent.com/u/4303886?v=4","gravatar_id":"","url":"https://api.github.com/users/jchonig","html_url":"https://github.com/jchonig","followers_url":"https://api.github.com/users/jchonig/followers","following_url":"https://api.github.com/users/jchonig/following{/other_user}","gists_url":"https://api.github.com/users/jchonig/gists{/gist_id}","starred_url":"https://api.github.com/users/jchonig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jchonig/subscriptions","organizations_url":"https://api.github.com/users/jchonig/orgs","repos_url":"https://api.github.com/users/jchonig/repos","events_url":"https://api.github.com/users/jchonig/events{/privacy}","received_events_url":"https://api.github.com/users/jchonig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-21T16:14:08Z","updated_at":"2018-02-21T16:14:08Z","closed_at":null,"author_association":"NONE","body":"  File \"/usr/local/lib/python2.7/dist-packages/piecash/core/transaction.py\", line 230, in __init__\r\n    and not isinstance(post_date, datetime.datetime)), \"post_date should be a date object\"\r\n\r\n`225                      ):\r\n226  \r\n227             assert enter_date is None or isinstance(enter_date, datetime.datetime), \"enter_date should be a datetime object\"\r\n228             assert post_date is None or (\r\n229                     isinstance(post_date, datetime.date)\r\n230  ->                 and not isinstance(post_date, datetime.datetime)), \"post_date should be a date object\"\r\n231  \r\n232             self.currency = currency\r\n233             self.description = description\r\n234             self.enter_date = (enter_date\r\n235                                if enter_date\r\n(Pdb) isinstance(post_date, datetime.datetime)\r\nTrue\r\n(Pdb) isinstance(post_date, datetime.date)\r\nTrue\r\n(Pdb) isinstance(post_date, datetime.date) and not isinstance(post_date, datetime.datetime)\r\nFalse\r\n`\r\npiecash 0.15.0"}}
{"actor":{"display_login":"jchonig"}}