mirror of
https://github.com/mvt-project/mvt.git
synced 2024-06-30 16:18:54 +00:00
Flake8 fixes
This commit is contained in:
parent
93094367c7
commit
7fc664185c
|
@ -124,7 +124,7 @@ class SMS(AndroidExtraction):
|
||||||
try:
|
try:
|
||||||
self.results = parse_tar_for_sms(backup_tar)
|
self.results = parse_tar_for_sms(backup_tar)
|
||||||
except AndroidBackupParsingError:
|
except AndroidBackupParsingError:
|
||||||
self.log.info("Impossible to read SMS from the Android Backup, please extract "\
|
self.log.info("Impossible to read SMS from the Android Backup, please extract "
|
||||||
"the SMS and try extracting it with Android Backup Extractor")
|
"the SMS and try extracting it with Android Backup Extractor")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -142,6 +142,6 @@ class SMS(AndroidExtraction):
|
||||||
except InsufficientPrivileges:
|
except InsufficientPrivileges:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
self.log.warn("No SMS database found. Trying extraction of SMS data using " \
|
self.log.warn("No SMS database found. Trying extraction of SMS data using "
|
||||||
"Android backup feature.")
|
"Android backup feature.")
|
||||||
self._extract_sms_adb()
|
self._extract_sms_adb()
|
||||||
|
|
|
@ -31,7 +31,7 @@ class ProfileEvents(IOSExtraction):
|
||||||
"timestamp": record.get("timestamp"),
|
"timestamp": record.get("timestamp"),
|
||||||
"module": self.__class__.__name__,
|
"module": self.__class__.__name__,
|
||||||
"event": "profile_operation",
|
"event": "profile_operation",
|
||||||
"data": f"Process {record.get('process')} started operation " \
|
"data": f"Process {record.get('process')} started operation "
|
||||||
f"{record.get('operation')} of profile {record.get('profile_id')}"
|
f"{record.get('operation')} of profile {record.get('profile_id')}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user