Skip to content

Commit

Permalink
lmsensors pmda: remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasgerstmayr committed May 16, 2019
1 parent c637513 commit f25ef32
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pmdas/lmsensors/pmdalmsensors.python
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def lmsensors_get():
if args.debug == 2:
print(" inputline:", outline2)

# We get 4 levels of variables from the sensors output,
# We get 4 levels of variables from the sensors output,
# and construct a hirachy of metrics.
# For example:
#
Expand All @@ -75,7 +75,7 @@ def lmsensors_get():
# temp2_crit: 100.000
# temp2_crit_alarm: 0.000
#
# ..will become:
# ..will become:
# coretemp_isa.isa_adapter.package_id_0.temp1
# coretemp_isa.isa_adapter.core_0.temp2

Expand Down Expand Up @@ -103,8 +103,8 @@ def lmsensors_get():
print(" assigned level2:", level2)
continue

# From the lines left now, we are just interested in m/_input/.
# Everything else, for example lines with temp1_max_hyst: or
# From the lines left now, we are just interested in m/_input/.
# Everything else, for example lines with temp1_max_hyst: or
# temp1_emergency:, should be ignored.
if not re.search(r'_input: .*', outline2):
continue
Expand Down

0 comments on commit f25ef32

Please sign in to comment.