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,
"""
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())
"License :: OSI Approved :: GNU General Public License (GPL)",
"Natural Language :: English",
"Operating System :: POSIX",
- "Programming Language :: Python :: 2",
"Topic :: Software Development :: Libraries :: Python Modules",
-]
+ "Programming Language :: Python :: 2",
+ "Programming Language :: Python :: 3",] + [
+ ("Programming Language :: Python :: %s" % x) for x in "2.7 3.2 3.3".split()],
LICENSE = """\
Copyright 2007, 2009 Sander Marechal <s.marechal@jejik.com>