)]}'
{"bandit/core/formatters.py":[{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"841cecb6c0dbf277de4b0789e70ec3ba1db6932b","unresolved":false,"context_lines":[{"line_number":107,"context_line":""},{"line_number":108,"context_line":"    dt \u003d result_store.generated_time"},{"line_number":109,"context_line":"    # if timestamp exists, add it to the report"},{"line_number":110,"context_line":"    if dt:"},{"line_number":111,"context_line":"        time_string \u003d dt.strftime(TS_FORMAT)"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"    if result_store.generated_time:"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_c96d00ce","line":110,"updated":"2015-08-03 18:05:36.000000000","message":"It looks like dt will always exist now?","commit_id":"98528866d2c298f6289b2a2fe24b9e2d98121f81"}],"bandit/core/manager.py":[{"author":{"_account_id":979,"name":"Dave Walker","email":"email@daviey.com","username":"davewalker"},"change_message_id":"a0e029bd01b6c30a966e9b5ed1dc805e8e7f2c8c","unresolved":false,"context_lines":[{"line_number":253,"context_line":""},{"line_number":254,"context_line":"def _get_cur_timestring():"},{"line_number":255,"context_line":"    # timezone agnostic format"},{"line_number":256,"context_line":"    TIME_FORMAT \u003d \"%Y-%m-%dT%H:%M:%SZ\""},{"line_number":257,"context_line":""},{"line_number":258,"context_line":"    try:"},{"line_number":259,"context_line":"        time_object \u003d datetime.datetime.utcnow()"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_5a1a1470","line":256,"updated":"2015-08-03 16:27:24.000000000","message":"Wouldn\u0027t it be better if this was a config option with this default?","commit_id":"b1f40bde3dd960c4904799b8136716716598da50"},{"author":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"change_message_id":"2f3c36fb1534ddba1eba6a33a1208fa5f0a7e929","unresolved":false,"context_lines":[{"line_number":253,"context_line":""},{"line_number":254,"context_line":"def _get_cur_timestring():"},{"line_number":255,"context_line":"    # timezone agnostic format"},{"line_number":256,"context_line":"    TIME_FORMAT \u003d \"%Y-%m-%dT%H:%M:%SZ\""},{"line_number":257,"context_line":""},{"line_number":258,"context_line":"    try:"},{"line_number":259,"context_line":"        time_object \u003d datetime.datetime.utcnow()"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_1dbb26c6","line":256,"in_reply_to":"1a4dcd0f_5a1a1470","updated":"2015-08-03 16:45:24.000000000","message":"Done","commit_id":"b1f40bde3dd960c4904799b8136716716598da50"}],"bandit/core/result_store.py":[{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"7456ab4bd1f0a0de718d735cc96a78068a2ecb6c","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        self.count +\u003d 1"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def _write_report(self, files_list, scores, excluded_files):"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"        formatters_mgr \u003d extension_loader.MANAGER.formatters_mgr"},{"line_number":90,"context_line":"        try:"},{"line_number":91,"context_line":"            formatter \u003d formatters_mgr[self.format]"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_5d468ec0","line":88,"updated":"2015-08-03 16:47:43.000000000","message":"Accidental newline?","commit_id":"ee2cc96dda761e2e78b4533d675df2cb9caa30e3"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"7456ab4bd1f0a0de718d735cc96a78068a2ecb6c","unresolved":false,"context_lines":[{"line_number":129,"context_line":"        except IOError:"},{"line_number":130,"context_line":"            print(\"Unable to write to file: %s\" % self.out_file)"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    @property"},{"line_number":133,"context_line":"    def generated_time(self):"},{"line_number":134,"context_line":"        return self.generated_time"},{"line_number":135,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_3d4942d1","line":132,"updated":"2015-08-03 16:47:43.000000000","message":"This will cause a problem on Python 3. You can\u0027t assign to this in the initializer with a read-only property defined here. Why are you doing it this way?","commit_id":"ee2cc96dda761e2e78b4533d675df2cb9caa30e3"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"77de6557fed3abc8bda0fe773377c292135c096a","unresolved":false,"context_lines":[{"line_number":128,"context_line":""},{"line_number":129,"context_line":"    @property"},{"line_number":130,"context_line":"    def generated_time(self):"},{"line_number":131,"context_line":"        return self.generated_time"},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"    def _get_issue_list(self):"},{"line_number":134,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_ee87a2d5","line":131,"updated":"2015-08-03 17:56:56.000000000","message":"This will still cause a problem on Python 3. If we want it to be read-only then we need to use\n\n    self._generated_time \u003d _get_cur_datetime()\n\nAnd\n\n    @property\n    def generated_time(self):\n        return self._generated_time\n\nBut I don\u0027t see a lot of value to that. Someone can still modify self._generated_time.","commit_id":"eb6b6925bff3eabd059a5c6655b08af073871b3a"},{"author":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"change_message_id":"a518b625caeafcb0e9792f7a6b2e13bf27da2d71","unresolved":false,"context_lines":[{"line_number":128,"context_line":""},{"line_number":129,"context_line":"    @property"},{"line_number":130,"context_line":"    def generated_time(self):"},{"line_number":131,"context_line":"        return self.generated_time"},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"    def _get_issue_list(self):"},{"line_number":134,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_6e2cf2ab","line":131,"in_reply_to":"1a4dcd0f_ee87a2d5","updated":"2015-08-03 18:02:26.000000000","message":"Done","commit_id":"eb6b6925bff3eabd059a5c6655b08af073871b3a"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"77de6557fed3abc8bda0fe773377c292135c096a","unresolved":false,"context_lines":[{"line_number":211,"context_line":"def _get_cur_datetime():"},{"line_number":212,"context_line":"    try:"},{"line_number":213,"context_line":"        time_object \u003d datetime.datetime.utcnow()"},{"line_number":214,"context_line":"    except OSError:"},{"line_number":215,"context_line":"        # catch the case where we aren\u0027t able to get the time"},{"line_number":216,"context_line":"        return None"},{"line_number":217,"context_line":"    else:"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_ce598690","line":214,"updated":"2015-08-03 17:56:56.000000000","message":"When do we expect this to happen? Can we document what platforms/etc. we expect this to realistically happen on? I\u0027ve never seen this error before :/\n\nAlso this can be simpler:\n\n    try:\n        return datetime.datetime.utcnow()\n    except OSError:\n        return None","commit_id":"eb6b6925bff3eabd059a5c6655b08af073871b3a"},{"author":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"change_message_id":"a518b625caeafcb0e9792f7a6b2e13bf27da2d71","unresolved":false,"context_lines":[{"line_number":211,"context_line":"def _get_cur_datetime():"},{"line_number":212,"context_line":"    try:"},{"line_number":213,"context_line":"        time_object \u003d datetime.datetime.utcnow()"},{"line_number":214,"context_line":"    except OSError:"},{"line_number":215,"context_line":"        # catch the case where we aren\u0027t able to get the time"},{"line_number":216,"context_line":"        return None"},{"line_number":217,"context_line":"    else:"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_ae22fab7","line":214,"in_reply_to":"1a4dcd0f_ce598690","updated":"2015-08-03 18:02:26.000000000","message":"Was trying to be cautious, but I guess needlessly so.  If time can\u0027t be retrieved we have bigger problems than Bandit failing.","commit_id":"eb6b6925bff3eabd059a5c6655b08af073871b3a"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"841cecb6c0dbf277de4b0789e70ec3ba1db6932b","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        self.format \u003d \u0027txt\u0027"},{"line_number":43,"context_line":"        self.out_file \u003d None"},{"line_number":44,"context_line":"        self.verbose \u003d verbose"},{"line_number":45,"context_line":"        self.generated_time \u003d _get_cur_datetime()"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    def skip(self, filename, reason):"},{"line_number":48,"context_line":"        \u0027\u0027\u0027Indicates that the specified file was skipped and why"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_695f0c0f","line":45,"updated":"2015-08-03 18:05:36.000000000","message":"Do we need a separate function for this now? Can we just do\n\n    self.generated_time \u003d datetime.datetime.utcnow()","commit_id":"98528866d2c298f6289b2a2fe24b9e2d98121f81"}]}
