X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/ea7f682dc12f771d1d545831fc548ea4ef3920e7..3dc285a9ac21a377d5a81d6681e97becc0c2f286:/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: