Commit graph

12 commits

Author SHA1 Message Date
Carlos Meza
23ec568d3c pylint W0703(broad-except) 2018-02-25 09:43:47 +00:00
Carlos Meza
b180f66ef0 pylint E1101(no-member) 2018-02-25 09:34:12 +00:00
Carlos Meza
6e183914ac fix pylint W0403(relative-import) 2018-02-25 04:12:24 +00:00
Anders Ingemann
f62c8ade99 Convert indentation from tabs to spaces (4)
Up until now I didn't see the point of using spaces for indentation.
However, the previous commit (a18bec3) was quite eye opening.
Given that python is an indentation aware language, the amount of
mistakes that went unnoticed because tabs and spaces were used
at the same time (tabs for indentation and spaces for alignment)
were unacceptable.

E101,W191 have been re-enable in the tox flake8 checker and
the documentation has been modified accordingly.

The following files have been left as-is:
* bootstrapvz/common/assets/extlinux/extlinux.conf
* bootstrapvz/common/assets/init.d/expand-root
* bootstrapvz/common/assets/init.d/generate-ssh-hostkeys
* bootstrapvz/common/assets/init.d/squeeze/generate-ssh-hostkeys
* bootstrapvz/plugins/docker_daemon/assets/init.d/docker
* bootstrapvz/providers/ec2/assets/bin/growpart
* bootstrapvz/providers/ec2/assets/grub.d/40_custom
* bootstrapvz/providers/ec2/assets/init.d/ec2-get-credentials
* bootstrapvz/providers/ec2/assets/init.d/ec2-run-user-data
* docs/_static/taskoverview.coffee
* docs/_static/taskoverview.less
* tests/unit/subprocess.sh
2016-06-04 11:38:16 +02:00
Anders Ingemann
51e9e29b24 Move server control code to the top 2015-04-16 22:21:46 +02:00
Anders Ingemann
686f9e4230 No need to remember the callback server 2015-04-16 22:21:45 +02:00
Anders Ingemann
b067ada15e Introduce some awesome signal handling
We can now press Ctrl+C remotely  while any subprocess of the bootstrapping process is running,
previously SIGINTs weren't propagated to the bootstrapping process because there was a thread
in between it all. Now the bootstrapping process is in it's own process group.
2015-04-16 22:21:45 +02:00
Anders Ingemann
8090d3c5bc Log to file on the remote 2015-04-16 22:15:20 +02:00
Anders Ingemann
ab18516f79 Support SIGINT over the network 2015-04-16 22:15:20 +02:00
Anders Ingemann
2b6fefd789 Fix serialization of exceptions 2015-04-16 22:15:20 +02:00
Anders Ingemann
bc8967529d Move remote log stuff back into remote module 2015-04-16 22:15:19 +02:00
Anders Ingemann
909e5cee46 Put remote module into pkg root 2015-04-16 22:15:19 +02:00
Renamed from bootstrapvz/base/remote/server.py (Browse further)