You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/files
Michael Scherer 3db76b8207 Make blockinfile work with python3
Traceback (most recent call last):
      File \"/tmp/ansible_ueg52c0b/ansible_module_blockinfile.py\", line 319, in <module>
        main()
      File \"/tmp/ansible_ueg52c0b/ansible_module_blockinfile.py\", line 259, in main
        if line.startswith(marker0):
    TypeError: startswith first arg must be bytes or a tuple of bytes, not str

Also clean imports while on it.
9 years ago
..
__init__.py Add new module "patch" 11 years ago
archive.py Fix `archive` truncating archived file names based on prefix length (#3124) 9 years ago
blockinfile.py Make blockinfile work with python3 9 years ago
patch.py Port patch.py to python3/python2.4 syntax (#2276) 10 years ago