diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-08-05 19:58:29 +0000 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-08-05 19:58:29 +0000 |
| commit | ce94cfea695881db456f0be01e759632829b3e7f (patch) | |
| tree | e2257cb1df25b1adc8751a22275614cd5fd24cc7 /src/flake8/exceptions.py | |
| parent | 1c07453ef72025cec9f92daa448a0957900ce204 (diff) | |
| parent | 240609edd48f12d6746ce9fba72593663e076af7 (diff) | |
| download | flake8-ce94cfea695881db456f0be01e759632829b3e7f.tar.gz | |
Merge branch 'bug/179' into 'master'
Serialize Checkers PluginTypeManager to a dict
*Description of changes*
Try to side-step issues with attributes not being set/updated on plugins when used with multiprocessing and Queues.
*Related to:* #179, #164
See merge request !98
Diffstat (limited to 'src/flake8/exceptions.py')
| -rw-r--r-- | src/flake8/exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flake8/exceptions.py b/src/flake8/exceptions.py index da650f9..349d471 100644 --- a/src/flake8/exceptions.py +++ b/src/flake8/exceptions.py @@ -65,7 +65,7 @@ class PluginRequestedUnknownParameters(Flake8Exception): def __str__(self): """Format our exception message.""" - return self.FORMAT % {'name': self.plugin.plugin_name, + return self.FORMAT % {'name': self.plugin['plugin_name'], 'exc': self.original_exception} |
