Jamie Finnigan
b6c8b9f01b
Catch general exception on per-file basis
...
This modifies the Bandit manager to catch a general Exception on a
per-file basis. When an exception does occur, the name of the file is
emitted and the file is logged as a 'skipped file' for inclusion in
the end-of-run output. When run in debug mode, a traceback will also
be printed.
The change also adds a new test targeting this case, along with a new
example file (nonsense2.py is gzipped nonsense.py) to trigger the
test.
Change-Id: I86e648890dddcc5c2fff7dd9844678e990b0cd63
Closes-Bug: #1498258
2016-04-13 09:39:21 -07:00
..
2015-05-06 14:06:44 +01:00
2014-08-14 15:46:50 -07:00
2015-10-08 23:16:38 -07:00
2015-09-04 13:09:27 -07:00
2015-08-09 02:43:37 -07:00
2015-03-12 17:11:46 -05:00
2015-02-26 10:19:26 -08:00
2015-06-03 16:47:25 -05:00
2015-06-03 16:47:25 -05:00
2015-10-13 13:56:35 -04:00
2015-11-11 11:32:46 +00:00
2015-10-07 15:51:28 +02:00
2015-11-06 18:04:44 +01:00
2015-07-02 19:20:16 +01:00
2014-07-17 11:52:33 -07:00
2016-01-21 15:29:21 +00:00
2014-07-16 10:27:50 -07:00
2015-02-23 17:42:58 -08:00
2015-03-05 08:44:09 -08:00
2015-06-03 16:28:36 +00:00
2014-07-17 11:23:57 -07:00
2015-10-07 15:51:28 +02:00
2016-02-19 12:15:25 -06:00
2016-02-25 10:43:26 -06:00
2016-02-25 10:43:26 -06:00
2016-02-25 10:43:26 -06:00
2016-04-13 09:39:21 -07:00
2014-07-17 12:10:18 -07:00
2016-01-08 10:06:22 +11:00
2014-07-25 11:20:20 -07:00
2015-07-02 19:20:16 +01:00
2015-09-04 14:58:49 -07:00
2015-06-03 16:47:25 -05:00
2014-07-25 11:10:03 -07:00
2015-11-11 14:29:17 +00:00
2014-07-25 11:10:03 -07:00
2015-07-02 19:20:16 +01:00
2015-07-14 09:35:08 -06:00
2015-07-02 19:20:16 +01:00
2015-06-03 16:28:36 +00:00
2015-07-02 19:20:16 +01:00
2015-07-16 10:26:31 +01:00
2015-10-30 15:02:08 +09:00
2015-02-25 17:39:22 -08:00
2015-07-02 19:20:16 +01:00
2015-08-03 14:03:57 +01:00
2015-02-12 11:33:26 -06:00
2015-11-05 16:47:51 +11:00
2015-09-03 10:46:57 -07:00
2016-03-24 12:09:12 -05:00
2015-07-14 13:12:01 +01:00
2015-11-06 18:04:44 +01:00
2015-07-02 19:20:16 +01:00
2015-10-14 17:55:39 -07:00
2015-07-02 19:20:16 +01:00
2015-06-03 16:28:36 +00:00
2015-06-03 16:28:36 +00:00
2015-04-24 09:58:26 -07:00
2015-04-24 09:58:26 -07:00
2015-04-24 09:58:26 -07:00
2015-06-03 16:28:36 +00:00
2015-06-03 16:28:36 +00:00
2015-06-03 16:28:36 +00:00
2015-06-03 16:28:36 +00:00
2016-01-14 15:46:04 -06:00