Commit Graph

12 Commits (6769529bb782c6b85ec7124ec47edccc55d488ce)

Author SHA1 Message Date
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. 8 years ago
Mike Mars a76083d439 Missed umask octal conversion. 8 years ago
Mike Mars 529e75f981 Corrected string of text... 8 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.
8 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). 8 years ago
Geoff Wright e7d3d6c673 Fixes: #3232. Use of datetime consistent with module_utils/basic.py 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 9 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
Michael DeHaan 0be8798858 Renames. 10 years ago