Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 'NoneType' object has no attribute 'get'
There are situations where the action object returned by libjuju may not have the 'results' attribute which leads to using the default value when running ".get('results')" which it's None. This change sets the default value to an empty dictionary to allow the following ".get('Stdout', '')" succeed.
- Loading branch information