diff options
author | Toshio Kuratomi <a.badger@gmail.com> | 2016-09-29 07:16:03 -0700 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2016-09-29 07:16:03 -0700 |
commit | d92b4bf35240878c2368fd005e0b3aa6808ee002 (patch) | |
tree | 368668f0700dde28cdd336cf228966efea549afc | |
parent | 80c53ec210364cdc30700b984652dcadef6d9d5e (diff) | |
download | ansible-modules-core-d92b4bf35240878c2368fd005e0b3aa6808ee002.tar.gz |
Revert "We don't have pycompat24 in 2.1 either"
This reverts commit a965d84f8d468531aa0c4e785ae0a3586a3d3e2d.
Revert mount changes for 2.1.2. They are causing regressions so it's
too late for 2.1.2.
-rw-r--r-- | system/mount.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/system/mount.py b/system/mount.py index 7076d9fa..59b30175 100644 --- a/system/mount.py +++ b/system/mount.py @@ -21,6 +21,14 @@ # along with Ansible. If not, see <http://www.gnu.org/licenses/>. +from ansible.module_utils.basic import AnsibleModule +from ansible.module_utils.basic import get_platform +from ansible.module_utils.ismount import ismount +from ansible.module_utils.pycompat24 import get_exception +import os +import re + + DOCUMENTATION = ''' --- module: mount @@ -111,14 +119,6 @@ EXAMPLES = ''' state: present ''' -import os -import re - -from ansible.module_utils.basic import AnsibleModule -from ansible.module_utils.basic import get_exception -from ansible.module_utils.basic import get_platform -from ansible.module_utils.ismount import ismount - def write_fstab(lines, dest): fs_w = open(dest, 'w') |