mirror of
https://github.com/mvt-project/mvt.git
synced 2024-06-30 16:18:54 +00:00
Enforcing line length
This commit is contained in:
parent
00d82f7f00
commit
8bc5113bd2
|
@ -122,8 +122,8 @@ class DownloadAPKs(AndroidExtraction):
|
||||||
if not package.get("system", False):
|
if not package.get("system", False):
|
||||||
packages_selection.append(package)
|
packages_selection.append(package)
|
||||||
|
|
||||||
log.info("Selected only %d packages which are not marked as \"system\"",
|
log.info("Selected only %d packages which are not marked as "
|
||||||
len(packages_selection))
|
"\"system\"", len(packages_selection))
|
||||||
|
|
||||||
if len(packages_selection) == 0:
|
if len(packages_selection) == 0:
|
||||||
log.info("No packages were selected for download")
|
log.info("No packages were selected for download")
|
||||||
|
@ -142,8 +142,8 @@ class DownloadAPKs(AndroidExtraction):
|
||||||
log.info("[%d/%d] Package: %s", i, len(packages_selection),
|
log.info("[%d/%d] Package: %s", i, len(packages_selection),
|
||||||
package["package_name"])
|
package["package_name"])
|
||||||
|
|
||||||
# Sometimes the package path contains multiple lines for multiple apks.
|
# Sometimes the package path contains multiple lines for multiple
|
||||||
# We loop through each line and download each file.
|
# apks. We loop through each line and download each file.
|
||||||
for package_file in package["files"]:
|
for package_file in package["files"]:
|
||||||
device_path = package_file["path"]
|
device_path = package_file["path"]
|
||||||
local_path = self.pull_package_file(package["package_name"],
|
local_path = self.pull_package_file(package["package_name"],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user