summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/packaging/os/zypper_repository.py
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2017-01-27 15:20:31 -0800
committerMatt Clay <matt@mystile.com>2017-01-27 17:08:02 -0800
commitd913f69ba10af797912327f553239081d17a2593 (patch)
tree56188415a88f70d1b4cff2e5c781840c4abc44a0 /lib/ansible/modules/packaging/os/zypper_repository.py
parent95789f3949b01c79c729315ff375d0e759f64970 (diff)
downloadansible-d913f69ba10af797912327f553239081d17a2593.tar.gz
PEP 8 W291 whitespace cleanup.
Diffstat (limited to 'lib/ansible/modules/packaging/os/zypper_repository.py')
-rw-r--r--lib/ansible/modules/packaging/os/zypper_repository.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ansible/modules/packaging/os/zypper_repository.py b/lib/ansible/modules/packaging/os/zypper_repository.py
index adad2bc195..879d9807c2 100644
--- a/lib/ansible/modules/packaging/os/zypper_repository.py
+++ b/lib/ansible/modules/packaging/os/zypper_repository.py
@@ -87,7 +87,7 @@ options:
version_added: "2.1"
auto_import_keys:
description:
- - Automatically import the gpg signing key of the new or changed repository.
+ - Automatically import the gpg signing key of the new or changed repository.
- Has an effect only if state is I(present). Has no effect on existing (unchanged) repositories or in combination with I(absent).
- Implies runrefresh.
required: false
@@ -111,7 +111,7 @@ options:
version_added: "2.2"
-requirements:
+requirements:
- "zypper >= 1.0 # included in openSuSE >= 11.1 or SuSE Linux Enterprise Server/Desktop >= 11.0"
- python-xml
'''
@@ -246,7 +246,7 @@ def addmodify_repo(module, repodata, old_repos, zypper_version, warnings):
cmd.extend(['--name', repodata['name']])
# priority on addrepo available since 1.12.25
- # https://github.com/openSUSE/zypper/blob/b9b3cb6db76c47dc4c47e26f6a4d2d4a0d12b06d/package/zypper.changes#L327-L336
+ # https://github.com/openSUSE/zypper/blob/b9b3cb6db76c47dc4c47e26f6a4d2d4a0d12b06d/package/zypper.changes#L327-L336
if repodata['priority']:
if zypper_version >= LooseVersion('1.12.25'):
cmd.extend(['--priority', str(repodata['priority'])])