mirror of https://github.com/mvt-project/mvt.git
Removed empty spaces
This commit is contained in:
parent
7daea737c6
commit
2bde693c35
|
@ -36,7 +36,7 @@ class DumpsysAppOps(AndroidExtraction):
|
||||||
"timestamp": entry["timestamp"],
|
"timestamp": entry["timestamp"],
|
||||||
"module": self.__class__.__name__,
|
"module": self.__class__.__name__,
|
||||||
"event": entry["access"],
|
"event": entry["access"],
|
||||||
"data": f"{record['package_name']} access to {perm['name']} : {entry['access']}",
|
"data": f"{record['package_name']} access to {perm['name']}: {entry['access']}",
|
||||||
})
|
})
|
||||||
|
|
||||||
return records
|
return records
|
||||||
|
|
|
@ -34,7 +34,7 @@ class Appops(BugReportModule):
|
||||||
"timestamp": entry["timestamp"],
|
"timestamp": entry["timestamp"],
|
||||||
"module": self.__class__.__name__,
|
"module": self.__class__.__name__,
|
||||||
"event": entry["access"],
|
"event": entry["access"],
|
||||||
"data": f"{record['package_name']} access to {perm['name']} : {entry['access']}",
|
"data": f"{record['package_name']} access to {perm['name']}: {entry['access']}",
|
||||||
})
|
})
|
||||||
|
|
||||||
return records
|
return records
|
||||||
|
|
|
@ -150,13 +150,13 @@ class NetBase(IOSExtraction):
|
||||||
else:
|
else:
|
||||||
msg = f"Could not find the binary associated with the process with name {proc['proc_name']}"
|
msg = f"Could not find the binary associated with the process with name {proc['proc_name']}"
|
||||||
if (proc["proc_name"] is None):
|
if (proc["proc_name"] is None):
|
||||||
msg = f"Found process entry with empty 'proc_name' : {proc['live_proc_id']} at {proc['live_isodate']}"
|
msg = f"Found process entry with empty 'proc_name': {proc['live_proc_id']} at {proc['live_isodate']}"
|
||||||
elif len(proc["proc_name"]) == 16:
|
elif len(proc["proc_name"]) == 16:
|
||||||
msg = msg + " (However, the process name might have been truncated in the database)"
|
msg = msg + " (However, the process name might have been truncated in the database)"
|
||||||
|
|
||||||
self.log.warning(msg)
|
self.log.warning(msg)
|
||||||
if not proc["live_proc_id"]:
|
if not proc["live_proc_id"]:
|
||||||
self.log.info(f"Found process entry in ZPROCESS but not in ZLIVEUSAGE : {proc['proc_name']} at {proc['live_isodate']}")
|
self.log.info(f"Found process entry in ZPROCESS but not in ZLIVEUSAGE: {proc['proc_name']} at {proc['live_isodate']}")
|
||||||
|
|
||||||
def check_manipulated(self):
|
def check_manipulated(self):
|
||||||
"""Check for missing or manipulate DB entries"""
|
"""Check for missing or manipulate DB entries"""
|
||||||
|
|
Loading…
Reference in New Issue