diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-03-13 13:56:39 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-03-13 13:56:39 +0100 |
commit | 0de19cbe44a00daa11f2c041f9856594f5ce1168 (patch) | |
tree | e73f815256ed75007f5e10aa29a4007cbb6e5e9d /tango | |
parent | 83a5eceaf3b927417f919dc127634a0018e89690 (diff) |
tango: print process name containing PID
Diffstat (limited to 'tango')
-rwxr-xr-x | tango/Ufo | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ class _DataProcess(multiprocessing.Process): self.log("Error: {}".format(e.message)) def log(self, s): - print("{}: {}".format(self.name, s)) + print("Process-{}: {}".format(self.pid, s)) class Process(Device): |