Commit Graph

8 Commits (0417d4d73ab52772bd6e95379da657a57d661e46)

Author SHA1 Message Date
Alex Willmer 0417d4d73a Replace os.system() with subprocess.check_call()
Non-zero return codes should raise an exception, not pass silently.
2 years ago
David Wilson 8d7aefb1cf docs: fix example up so it's closer to real code 6 years ago
David Wilson 73c7b5daeb docs: modernize 2 examples 6 years ago
David Wilson 410016ff47 Initial Python 3.x port work.
* ansible: use unicode_literals everywhere since it only needs to be
  compatible back to 2.6.
* compat/collections.py: delete this entirely and rip out the parts of
  functools that require it.
* Introduce serializable Kwargs dict subclass that translates keys to
  Unicode on instantiation.
* enable_debug_logging() must set _v/_vv globals.
* cStringIO does not exist in 3.x.
* Treat IOLogger and LogForwarder input as latin-1.
* Avoid ResourceWarnings in first stage by explicitly closing fps.
* Fix preamble_size.py syntax errors.
6 years ago
David Wilson 4d9d21c808 docs: fix typo 6 years ago
David Wilson b580ada89f Tidy up and correct the new example 6 years ago
David Wilson eb2aef866b Add shell replacement example. 6 years ago
David Wilson e7ff6259a3 Initial commit. 6 years ago