summaryrefslogtreecommitdiff
path: root/cloudinit/signal_handler.py
Commit message (Collapse)AuthorAgeFilesLines
* Adopt Black and isort (SC-700) (#1157)James Falcon2021-12-151-6/+6
| | | | | Applied Black and isort, fixed any linting issues, updated tox.ini and CI.
* cloudinit: replace "from six import X" imports (except in util.py) (#183)Daniel Watkins2020-01-311-2/+1
|
* LICENSE: Allow dual licensing GPL-3 or Apache 2.0Jon Grimm2016-12-221-17/+7
| | | | | | | | | | | | | | | | | | This has been a recurring ask and we had initially just made the change to the cloud-init 2.0 codebase. As the current thinking is we'll just continue to enhance the current codebase, its desirable to relicense to match what we'd intended as part of the 2.0 plan here. - put a brief description of license in LICENSE file - put full license versions in LICENSE-GPLv3 and LICENSE-Apache2.0 - simplify the per-file header to reference LICENSE - tox: ignore H102 (Apache License Header check) Add license header to files that ship. Reformat headers, make sure everything has vi: at end of file. Non-shipping files do not need the copyright header, but at the moment tests/ have it.
* adjust signal_handler for version changes.Scott Moser2016-08-051-1/+1
| | | | signal_handler was still using vr.version().
* Largely merge lp:~harlowja/cloud-init/py2-3 albeit manually because it seemedBarry Warsaw2015-01-211-1/+1
| | | | | | to be behind trunk. `tox -e py27` passes full test suite. Now to work on replacing mocker.
* do not disable logging on signalScott Moser2012-09-191-11/+0
| | | | | | | | | | I had previously asked for this, but we're hoping to handle it in a more generic way. Just because we receive a signal doesn't mean that all logging is broken. The more general solution we'll chase is to catch a failure of a log message and fall back if necessary across the board. That way cloud-init will still send logging to the right places on a user interupt.
* change exit messages to include signal nameScott Moser2012-09-191-3/+3
|
* Add a basic signal test and write out allJoshua Harlow2012-09-141-6/+22
| | | | the signal information in one block instead of many.
* Fix pylintness.Joshua Harlow2012-09-061-1/+2
|
* Add capturing of basic signal handlers toJoshua Harlow2012-09-061-0/+65
handle those signals more gracefully and with better messaging than what comes builtin.