1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 10:23:46 +01:00

Missing first char of package name

This commit is contained in:
Tomas Edwardsson 2013-07-14 22:46:08 +00:00
parent be5d1ce505
commit c7a4b60654

View File

@ -28,7 +28,7 @@ def pkcon_get_updates():
results_section = True results_section = True
elif results_section: elif results_section:
update_type = line[:13].replace(' ', '') update_type = line[:13].replace(' ', '')
update_package = line [14:].strip() update_package = line [13:].strip()
if update_type not in update_types: if update_type not in update_types:
update_types[update_type] = [] update_types[update_type] = []