diff options
author | Sourabh Jain <sourabhjain@linux.ibm.com> | 2018-10-26 17:38:12 +0530 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-03-18 20:02:58 +0000 |
commit | 2cfc2d7726691de523efd8a7dea04affbbab2480 (patch) | |
tree | 9df19037588a58875951190474f704a7b99fa6a1 /man/en/sosreport.1 | |
parent | 42205ddf2f84ad27fecaf5e5f0a66cd445eb0400 (diff) | |
download | sos-2cfc2d7726691de523efd8a7dea04affbbab2480.tar.gz |
[utilities] Remove the __path__ attribute comparison with empty string
This patch removes an unnecessary comparison on package's __path__
attribute with an empty string in get_modules method.
When we pass an empty path to _find_plugins_from_list function it
returns None. The NoneType is not an iterable entity, so this
will leads to runtime error when we extend the plugins list with
None value.
Resolves: #1463
Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'man/en/sosreport.1')
0 files changed, 0 insertions, 0 deletions