Skip to content

Commit

Permalink
I think we should not include the original
Browse files Browse the repository at this point in the history
  • Loading branch information
ribalba committed Jan 27, 2025
1 parent a5937cc commit caf23a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/hardware_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import pprint
import psutil
import sys
from lib.hardware_info_root_original import rdr, rpwr, rfwr, cf, get_values
from lib.hardware_info_root import rdr, rpwr, rfwr, cf, get_values

REGEX_PARAMS = re.MULTILINE | re.IGNORECASE

Expand Down Expand Up @@ -36,7 +36,7 @@
[rpwr, 'Docker Info', 'docker info', r'(?P<o>.*)', re.IGNORECASE | re.DOTALL],
[rpwr, 'Docker Version', 'docker version', r'(?P<o>.*)', re.IGNORECASE | re.DOTALL],
[rpwr, 'Docker Containers', 'docker ps -a', r'(?P<o>.*)'],
[rpwr, 'Installed System Packages', 'if [ -f /etc/lsb-release ]; then dpkg -l ; elif [ -f /etc/redhat-release ]; then dnf list installed ; fi', r'(?P<o>.*)', re.IGNORECASE | re.DOTALL],
#[rpwr, 'Installed System Packages', 'if [ -f /etc/lsb-release ]; then dpkg -l ; elif [ -f /etc/redhat-release ]; then dnf list installed ; fi', r'(?P<o>.*)', re.IGNORECASE | re.DOTALL],
[rpwr, 'Installed Python Packages', f"{sys.executable} -m pip freeze", r'(?P<o>.*)', re.IGNORECASE | re.DOTALL],
[rpwr, 'Processes', '/usr/bin/ps -aux', r'(?P<o>.*)', re.IGNORECASE | re.DOTALL],
[
Expand Down

0 comments on commit caf23a2

Please sign in to comment.