From cda2aeb6c0617f686c68b97ba11c89dd5ab15c3c Mon Sep 17 00:00:00 2001 From: Dan Keder Date: Tue, 26 May 2015 16:37:56 +0200 Subject: [PATCH] seport.py: Minor changes in docstrings --- lib/ansible/modules/extras/system/seport.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/ansible/modules/extras/system/seport.py b/lib/ansible/modules/extras/system/seport.py index c1f81a7777c..3d6cb6170fa 100644 --- a/lib/ansible/modules/extras/system/seport.py +++ b/lib/ansible/modules/extras/system/seport.py @@ -87,10 +87,10 @@ def semanage_port_exists(seport, port, proto): :param seport: Instance of seobject.portRecords - :type port: basestring + :type port: str :param port: Port or port range (example: "8080", "8080-9090") - :type proto: basestring + :type proto: str :param proto: Protocol ('tcp' or 'udp') :rtype: bool @@ -113,19 +113,19 @@ def semanage_port_add(module, ports, proto, setype, do_reload, serange='s0', ses :type ports: list :param ports: List of ports and port ranges to add (e.g. ["8080", "8080-9090"]) - :type proto: basestring + :type proto: str :param proto: Protocol ('tcp' or 'udp') - :type setype: basestring + :type setype: str :param setype: SELinux type :type do_reload: bool :param do_reload: Whether to reload SELinux policy after commit - :type serange: basestring + :type serange: str :param serange: SELinux MLS/MCS range (defaults to 's0') - :type sestore: basestring + :type sestore: str :param sestore: SELinux store :rtype: bool @@ -162,13 +162,13 @@ def semanage_port_del(module, ports, proto, do_reload, sestore=''): :type ports: list :param ports: List of ports and port ranges to delete (e.g. ["8080", "8080-9090"]) - :type proto: basestring + :type proto: str :param proto: Protocol ('tcp' or 'udp') :type do_reload: bool :param do_reload: Whether to reload SELinux policy after commit - :type sestore: basestring + :type sestore: str :param sestore: SELinux store :rtype: bool