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