moved static methods to module functions

medic is now sentinel and runs in it's own process
sentinel shutdown procedure more stable
This commit is contained in:
Ilan Steemers
2015-06-18 14:10:48 +02:00
parent 4faba63d54
commit 90b5b0d6ab
9 changed files with 244 additions and 231 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import time
# simple countdown
def count(n):
def countdown(n):
start_time = time.time()
while n > 0:
n -= 1