@@ -113,8 +113,8 @@ def print_reboot_required():
113113 stderr = subprocess .DEVNULL ,
114114 check = False )
115115
116- print ('# HELP node_reboot_required Node require reboot to activate installed updates or ' \
117- 'patches. (0 = not needed, 1 = needed)' )
116+ print ('# HELP node_reboot_required Node require reboot to activate installed updates or '
117+ 'patches. (0 = not needed, 1 = needed)' )
118118 print ('# TYPE node_reboot_required gauge' )
119119 if result .returncode == 0 :
120120 print ('node_reboot_required 0' )
@@ -228,7 +228,7 @@ def main(argv: Sequence[str] | None = None) -> int:
228228 ).stdout .decode ('utf-8' )
229229 data_zypper_orphaned = __extract_orphaned_data (raw_zypper_orphaned )
230230
231- print ('# HELP zypper_update_pending zypper package update available from repository. (0 = not ' \
231+ print ('# HELP zypper_update_pending zypper package update available from repository. (0 = not '
232232 'available, 1 = available)' )
233233 print ('# TYPE zypper_update_pending gauge' )
234234 print_pending_updates (data_zypper_lu , args .all_info )
@@ -237,7 +237,7 @@ def main(argv: Sequence[str] | None = None) -> int:
237237 print ('# TYPE zypper_updates_pending_total counter' )
238238 print_updates_sum (data_zypper_lu )
239239
240- print ('# HELP zypper_patch_pending zypper patch available from repository. (0 = not available ' \
240+ print ('# HELP zypper_patch_pending zypper patch available from repository. (0 = not available '
241241 ', 1 = available)' )
242242 print ('# TYPE zypper_patch_pending gauge' )
243243 print_pending_patches (data_zypper_lp , args .all_info )
@@ -246,21 +246,21 @@ def main(argv: Sequence[str] | None = None) -> int:
246246 print ('# TYPE zypper_patches_pending_total counter' )
247247 print_patches_sum (data_zypper_lp )
248248
249- print ('# HELP zypper_patches_pending_security_total zypper patches available with category ' \
249+ print ('# HELP zypper_patches_pending_security_total zypper patches available with category '
250250 'security total' )
251251 print ('# TYPE zypper_patches_pending_security_total counter' )
252252 print_patches_sum (data_zypper_lp ,
253253 prefix = "zypper_patches_pending_security_total" ,
254254 filters = {'Category' : 'security' })
255255
256- print ('# HELP zypper_patches_pending_security_important_total zypper patches available with ' \
256+ print ('# HELP zypper_patches_pending_security_important_total zypper patches available with '
257257 'category security severity important total' )
258258 print ('# TYPE zypper_patches_pending_security_important_total counter' )
259259 print_patches_sum (data_zypper_lp ,
260260 prefix = "zypper_patches_pending_security_important_total" ,
261261 filters = {'Category' : 'security' , 'Severity' : 'important' })
262262
263- print ('# HELP zypper_patches_pending_reboot_total zypper patches available which require ' \
263+ print ('# HELP zypper_patches_pending_reboot_total zypper patches available which require '
264264 'reboot total' )
265265 print ('# TYPE zypper_patches_pending_reboot_total counter' )
266266 print_patches_sum (data_zypper_lp ,
0 commit comments