diff options
author | Matt Martz <matt@sivel.net> | 2015-06-30 16:23:28 -0500 |
---|---|---|
committer | Matt Martz <matt@sivel.net> | 2015-07-01 09:39:18 -0500 |
commit | 9eb4219f79446c2302e346f6e4464ea2ead8626e (patch) | |
tree | 400355e7d7a4a32631107d0ee93e7c79576d2c6d | |
parent | 5a254e6303b82f8fe73e6ab7b1579ac0c8e36e14 (diff) | |
download | ansible-modules-core-9eb4219f79446c2302e346f6e4464ea2ead8626e.tar.gz |
Replaced tabbed indentation with spaces for apt module
-rw-r--r-- | packaging/os/apt.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/os/apt.py b/packaging/os/apt.py index 09129a73..9172c697 100644 --- a/packaging/os/apt.py +++ b/packaging/os/apt.py @@ -230,10 +230,10 @@ def package_status(m, pkgname, version, cache, state): try: provided_packages = cache.get_providing_packages(pkgname) if provided_packages: - is_installed = False + is_installed = False # when virtual package providing only one package, look up status of target package if cache.is_virtual_package(pkgname) and len(provided_packages) == 1: - package = provided_packages[0] + package = provided_packages[0] installed, upgradable, has_files = package_status(m, package.name, version, cache, state='install') if installed: is_installed = True |