diff options
author | David H. Gutteridge <dhgutteridge@users.noreply.github.com> | 2017-02-13 19:42:38 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2017-02-16 13:31:32 -0500 |
commit | 9a451e6faa634e7760f609cdf8feecb3106f2f6e (patch) | |
tree | 431d2a7b767c66801d56dd11e6101e01e39ef2d5 /virt-xml | |
parent | b8dccf6aca6ba5e5523749b54cf5040404b5ff26 (diff) | |
download | virt-manager-9a451e6faa634e7760f609cdf8feecb3106f2f6e.tar.gz |
Remove minor redundancy in action_remove_device()
There's no need to call util.listify() twice.
Diffstat (limited to 'virt-xml')
-rwxr-xr-x | virt-xml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -217,7 +217,7 @@ def action_remove_device(guest, options, parserclass): getattr(options, parserclass.cli_arg_name)[-1], parserclass) devs = util.listify(devs) - for dev in util.listify(devs): + for dev in devs: guest.remove_device(dev) return devs |