{"action":"created","issue":{"url":"https://api.github.com/repos/d3athrow/vgstation13/issues/7799","labels_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/7799/labels{/name}","comments_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/7799/comments","events_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/7799/events","html_url":"https://github.com/d3athrow/vgstation13/pull/7799","id":127991215,"number":7799,"title":"Removes the autofix messages.","user":{"login":"PJB3005","id":8107459,"avatar_url":"https://avatars.githubusercontent.com/u/8107459?v=3","gravatar_id":"","url":"https://api.github.com/users/PJB3005","html_url":"https://github.com/PJB3005","followers_url":"https://api.github.com/users/PJB3005/followers","following_url":"https://api.github.com/users/PJB3005/following{/other_user}","gists_url":"https://api.github.com/users/PJB3005/gists{/gist_id}","starred_url":"https://api.github.com/users/PJB3005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PJB3005/subscriptions","organizations_url":"https://api.github.com/users/PJB3005/orgs","repos_url":"https://api.github.com/users/PJB3005/repos","events_url":"https://api.github.com/users/PJB3005/events{/privacy}","received_events_url":"https://api.github.com/users/PJB3005/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-21T18:35:44Z","updated_at":"2016-01-22T23:09:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/7799","html_url":"https://github.com/d3athrow/vgstation13/pull/7799","diff_url":"https://github.com/d3athrow/vgstation13/pull/7799.diff","patch_url":"https://github.com/d3athrow/vgstation13/pull/7799.patch"},"body":"```` Python\r\nimport sys\r\nimport re\r\nimport os\r\n\r\nautofixre  = re.compile(\"(// AUTOFIXED BY fix_string_idiocy\\.py|// C:\\\\\\\\Users\\\\\\\\Rob\\\\\\\\\\\\\\\\documents\\\\\\\\\\\\\\\\\\\\\\\\projects\\\\\\\\vgstation13\\\\\\\\|// END AUTOFIX)\")\r\n\r\nif len(sys.argv) < 2:\r\n    print \"Not enough argument supplied.\"\r\n    quit()\r\n\r\nprint sys.argv[1]\r\nfor root, dirs, files in os.walk(sys.argv[1]):\r\n    print(root)\r\n    for filename in files:\r\n        if filename.find(\".dm\") == -1 or not (filename.find(\".dmi\") == -1 and filename.find(\".dmb\")) == -1:\r\n            continue\r\n\r\n        absolute = os.path.join(root, filename)\r\n\r\n        print(absolute)\r\n\r\n        f = open(absolute, \"r\")\r\n        lines = f.readlines()\r\n        f.close()\r\n\r\n        f = open(absolute, \"w\")\r\n\r\n        for line in lines:\r\n            if autofixre.search(line) == None:\r\n                f.write(line)\r\n\r\n        f.close()\r\n```"},"comment":{"url":"https://api.github.com/repos/d3athrow/vgstation13/issues/comments/174082708","html_url":"https://github.com/d3athrow/vgstation13/pull/7799#issuecomment-174082708","issue_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/7799","id":174082708,"user":{"login":"clusterfack","id":8516830,"avatar_url":"https://avatars.githubusercontent.com/u/8516830?v=3","gravatar_id":"","url":"https://api.github.com/users/clusterfack","html_url":"https://github.com/clusterfack","followers_url":"https://api.github.com/users/clusterfack/followers","following_url":"https://api.github.com/users/clusterfack/following{/other_user}","gists_url":"https://api.github.com/users/clusterfack/gists{/gist_id}","starred_url":"https://api.github.com/users/clusterfack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clusterfack/subscriptions","organizations_url":"https://api.github.com/users/clusterfack/orgs","repos_url":"https://api.github.com/users/clusterfack/repos","events_url":"https://api.github.com/users/clusterfack/events{/privacy}","received_events_url":"https://api.github.com/users/clusterfack/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T23:09:25Z","updated_at":"2016-01-22T23:09:25Z","body":"Good I hate this useless text pollution"}}