X-Git-Url: https://git.kaliko.me/?p=python-daemon.git;a=blobdiff_plain;f=seth.py;fp=seth.py;h=2ca65c8ecc603b4357648aec6d8a73fd18e0cb3a;hp=77f7a4b9810c0010dd0931f2d58c23a60fa65d3c;hb=2e7ab8bda69784afc1c67a5e2c4f414c37baccb6;hpb=fc3dd8a7aa1e23891f29960fbb0fc6aa954514f5 diff --git a/seth.py b/seth.py index 77f7a4b..2ca65c8 100644 --- a/seth.py +++ b/seth.py @@ -27,7 +27,7 @@ class Daemon(object): stdout : standard output file descriptor (default to /dev/null) stderr : standard error file descriptorr (default to /dev/null) """ - version = '0.5' + version = '0.6' def __init__(self, pidfile, stdin = os.devnull, @@ -153,7 +153,7 @@ class Daemon(object): """ Stop the daemon """ - # Get the pid from the pidopen + # Get the pid from the pidfile try: pf = open(self.pidfile, 'r') pid = int(pf.read().strip())