Mike Mars
5bb8cd7b06
a) fail_json uses kwargs, b) outside the fork, log instead of returning json on stdout.
9 years ago
Mike Mars
5101c2563b
data type fix on format string
9 years ago
Mike Mars
6769529bb7
corrected the string formatting (format isn't in 2.4 and even in some later versions of python 2.x requires an index). Tested for both compile ***& runtime exceptions*** against 2.4, 2.6, and 3.5.
9 years ago
Mike Mars
a76083d439
Missed umask octal conversion.
9 years ago
Mike Mars
529e75f981
Corrected string of text...
9 years ago
Mike Mars
82017ce298
1) Modified error handling to work with Python 2.4.
...
2) Fixed octal codes to fall in line with the ansible guide, "Porting Modules to Python 3"
3) updated the requirements.
All changes have been verified against Python 2.4, 2.6, & 3.5.
9 years ago
Mike Mars
aa44ef55e7
Fixing compile time errors irt exception handling for Python 3. This particular diff fixes problems with Exception handling and the use/misues IRT Python 3 of octal numbers (InvalidToken exceptions).
9 years ago
Geoff Wright
e7d3d6c673
Fixes : #3232 . Use of datetime consistent with module_utils/basic.py
9 years ago
Toshio Kuratomi
e1ec52e365
Re-add version_added to fireball docs
9 years ago
Toshio Kuratomi
2c3a85902c
Fireball was removed in 2.0 (action plugin is gone).
...
This commit removes the helper module that wouldn't work without the
action module and tells users what to use instead.
9 years ago
James Cammarata
79d18981c7
A few bug fixes and tweaks for the accelerate module
9 years ago
Toshio Kuratomi
a580acc12a
No longer check for tmp_path being sent as we don't use it here anyway
9 years ago
Greg DeKoenigsberg
2a5f0bde87
Proper author info for all remaining modules
10 years ago
Brian Coca
d501f50c7b
fixed try/except/finally to be 2.4 compatible
10 years ago
Toshio Kuratomi
60a66a544d
Several cleanups to many modules:
...
* Fix docs to specify when python2.6+ is required (due to a library
dep). This helps us know when it is okay to use python2.6+ syntax in
the file.
* remove BabyJson returns. See #1211 This commit fixes all but the
openstack modules.
* Use if __name__ == '__main__' to only run the main part of the module
if the module is run as a program. This allows for the potential to
unittest the code later.
10 years ago
Brian Coca
c6dcd38355
added missing init.py for utilities modules
10 years ago
Michael DeHaan
0be8798858
Renames.
10 years ago