Commit ad7f1e56 authored by Amos Latteier's avatar Amos Latteier

Some superficial changes: changed log message to say 'zdeamon' not 'zinit'....

Some superficial changes: changed log message to say 'zdeamon' not 'zinit'. Changed exception classes to inherit from Exception.
parent 169c79be
...@@ -109,13 +109,13 @@ import os, sys, time, signal ...@@ -109,13 +109,13 @@ import os, sys, time, signal
pyth = sys.executable pyth = sys.executable
class KidDiedOnMeError: class KidDiedOnMeError(Exception):
pass pass
class ExecError: class ExecError(Exception):
pass pass
class ForkError: class ForkError(Exception):
pass pass
FORK_ATTEMPTS = 2 FORK_ATTEMPTS = 2
...@@ -140,7 +140,7 @@ VERBOSE = 1 ...@@ -140,7 +140,7 @@ VERBOSE = 1
def pstamp(message): def pstamp(message):
print "zinit: %s: %s" % (time.ctime(time.time()), message) print "zdeamon: %s: %s" % (time.ctime(time.time()), message)
def heartbeat(): def heartbeat():
print 'tha-thump' print 'tha-thump'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment