mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 20:01:25 -07:00
Convert packaging/* to py3/py2.4 syntax (#3702)
This commit is contained in:
parent
cd09aab9b4
commit
b8175f70ce
5 changed files with 37 additions and 20 deletions
|
@ -492,7 +492,7 @@ def install_deb(m, debs, cache, force, install_recommends, allow_unauthenticated
|
|||
if package_version_compare(pkg_version, installed_version) == 0:
|
||||
# Does not need to down-/upgrade, move on to next package
|
||||
continue
|
||||
except Exception, e:
|
||||
except Exception:
|
||||
# Must not be installed, continue with installation
|
||||
pass
|
||||
# Check if package is installable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue