diff options
author | Mürsel Türk | 2022-08-30 12:27:56 +0200 |
---|---|---|
committer | Mürsel Türk | 2022-08-30 12:27:56 +0200 |
commit | d90fcd9b6763f62c19b8f916a5b446a38e9218e0 (patch) | |
tree | 57f7cd66ea0e4610ad7e8568551178051de1ae67 | |
parent | Add support for debian-based distros (diff) | |
download | vm-inspector-d90fcd9b6763f62c19b8f916a5b446a38e9218e0.tar.gz vm-inspector-d90fcd9b6763f62c19b8f916a5b446a38e9218e0.tar.xz vm-inspector-d90fcd9b6763f62c19b8f916a5b446a38e9218e0.zip |
Remove limit on output
-rw-r--r-- | tools/inspect_apps.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/inspect_apps.py b/tools/inspect_apps.py index 94a8768..58f0f0f 100644 --- a/tools/inspect_apps.py +++ b/tools/inspect_apps.py @@ -79,10 +79,7 @@ def list_applications_deb(path): with open(dpkg_db) as f: name = version = "" installed = False - count = 0 for line in f: - if count >= 10: - break line = line.strip() if not line: if name and version and installed: @@ -90,7 +87,6 @@ def list_applications_deb(path): "name": name, "version": version }) - count += 1 name = version = "" installed = False elif line.startswith("Package:"): |