X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/ea7f682dc12f771d1d545831fc548ea4ef3920e7..919343bd2a4fc08c45559e5090f8168dbe9996f3:/pymin/procman.py diff --git a/pymin/procman.py b/pymin/procman.py index 898a4ea..269117b 100644 --- a/pymin/procman.py +++ b/pymin/procman.py @@ -68,7 +68,7 @@ class ProcessInfo: pid = self.process.pid return 'ProcessInfo(name=%s, pid=%s command=%s, persist=%s, cb=%s)' % ( self.name, pid, self.command, self.persist, - self.callback.__name__) + self.callback and self.callback.__name__ or None) class ProcessManager: