diff options
| author | Jakub Hrozek <jhrozek@redhat.com> | 2017-03-28 14:07:29 +0200 |
|---|---|---|
| committer | Jakub Hrozek <jhrozek@redhat.com> | 2017-03-30 14:09:37 +0200 |
| commit | b010f24f4d96d15c5c85021bb4aa83db25cd3df5 (patch) | |
| tree | 44eba5d8178ce0c26eff50f08a8d44a78daf6dce /src/python | |
| parent | 35f0f5ff9dac790f6c947190fcdc00d01ae9077c (diff) | |
IFP: ListByName: Don't crash when no results are found
If no results were found using the List command, the results variable
was undefined which resulted in a crash.
Instead, only copy the results of the cache_req lookup returns EOK and
we can presume that the results are valid.
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/python')
0 files changed, 0 insertions, 0 deletions
