diff --git a/client/lib/engine/bin/InventoryLib.py b/client/lib/engine/bin/InventoryLib.py index 6c975b4..e18730f 100755 --- a/client/lib/engine/bin/InventoryLib.py +++ b/client/lib/engine/bin/InventoryLib.py @@ -1,4 +1,3 @@ -import glob import platform import sys import os @@ -7,13 +6,10 @@ import tempfile import re import json import shutil -import sqlite3 import SystemLib -import ogGlobals -import FileLib -import RegistryLib import FileSystemLib +import ogGlobals MSG_HARDWAREINVENTORY = "Inventario de hardware de la máquina" @@ -84,10 +80,6 @@ def ogGetSerialNumber(): def ogIsEfiActive(): return os.path.isdir("/sys/firmware/efi") -import subprocess -import os -import sys - def parse_lshw_output(): try: # Ejecutar lshw en formato JSON para un fácil procesamiento @@ -200,7 +192,6 @@ def ogListSoftware(disk, partition): return sorted(set(apps)) - def ogGetOsVersion(disk, part): try: mnt_dir = FileSystemLib.ogMount(disk, part)