{"action":"opened","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/576","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/576/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/576/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/576/events","html_url":"https://github.com/spyder-ide/spyder/issues/576","id":57868518,"number":576,"title":"\"Source / Remove trailing spaces\" removes newline at the end of file","user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/1%20star","name":"1 star","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/imported","name":"imported","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-17T00:31:29Z","updated_at":"2015-02-17T00:31:29Z","closed_at":null,"body":"_From [stefan.s...@gmail.com](https://code.google.com/u/104155975598107712022/) on 2011-03-10T07:24:34Z_\n\n\n\nWhat steps will reproduce the problem?\n\n 1. Have some Python code with the required blank newline at the end of file.\r\n2. Klick \"Source / Remove trailing spaces\".\r\n3. Empty newline at the end of the file is gone.\r\n4. Pep8/flake8 complains about this. What is the expected output? What do you see instead? - Want to keep the newline. What version of the product are you using? On what operating system? - v2.0.8 on Ubuntu 10.10.\n\n_Original issue: http://code.google.com/p/spyderlib/issues/detail?id=576_"}}