Module: check_mk
Branch: master
Commit: bec1ea04859966ebbb457967f47ebca30736374a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bec1ea04859966…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Nov 24 11:36:05 2014 +0100
Remove stray binary zeroes in Windows software list in vendor field
---
inventory/win_wmi_software | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inventory/win_wmi_software b/inventory/win_wmi_software
index 496321f..66382b5 100644
--- a/inventory/win_wmi_software
+++ b/inventory/win_wmi_software
@@ -46,7 +46,7 @@ def inv_win_wmi_software(info):
entry = {
"name" : pacname,
"version" : version,
- "vendor" : vendor,
+ "vendor" : vendor.replace('\x00', ''), #
Can happen, reason unclear
"install_date" : install_date,
"package_type" : "wmi",
}