diff options
Diffstat (limited to 'python/ovs')
-rw-r--r-- | python/ovs/vlog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/ovs/vlog.py b/python/ovs/vlog.py index 580b1bc23..1bd42c46f 100644 --- a/python/ovs/vlog.py +++ b/python/ovs/vlog.py @@ -107,12 +107,12 @@ class Vlog: ms = delta.microseconds / 1000 tmp = self._format_field(tmp, m, str(ms)) elif "t" in m: - subprogram = threading.current_thread().name + subprogram = threading.currentThread().getName() if subprogram == "MainThread": subprogram = "main" tmp = self._format_field(tmp, m, subprogram) elif "T" in m: - subprogram = threading.current_thread().name + subprogram = threading.currentThread().getName() if not subprogram == "MainThread": subprogram = "({})".format(subprogram) else: |