Skip to content

Commit

Permalink
corrected continuation indents
Browse files Browse the repository at this point in the history
  • Loading branch information
rick authored and joachimmetz committed Apr 9, 2024
1 parent 2bbd46e commit 114cb1d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion plaso/parsers/ips_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def ParseFileEntry(self, parser_mediator, file_entry):

try:
plugin.UpdateChainAndProcess(
parser_mediator, ips_file=ips_file_object)
parser_mediator, ips_file=ips_file_object)

except Exception as exception: # pylint: disable=broad-except
parser_mediator.ProduceExtractionWarning((
Expand Down
2 changes: 1 addition & 1 deletion plaso/parsers/ips_plugins/stacks_ips.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class AppleStacksIPSPlugin(interface.IPSPlugin):

REQUIRED_HEADER_KEYS = ['bug_type', 'incident_id', 'os_version', 'timestamp']
REQUIRED_CONTENT_KEYS = [
'build', 'crashReporterKey', 'kernel', 'product', 'reason']
'build', 'crashReporterKey', 'kernel', 'product', 'reason']

# pylint: disable=unused-argument
def Process(self, parser_mediator, ips_file=None, **unused_kwargs):
Expand Down
2 changes: 1 addition & 1 deletion tests/parsers/ips_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def testParseFileEntry(self):
parser = ips_parser.IPSParser()

storage_writer = self._ParseFile(
['ips_files', 'recoverylogd-2023-06-08-144913.ips'], parser)
['ips_files', 'recoverylogd-2023-06-08-144913.ips'], parser)

number_of_event_data = storage_writer.GetNumberOfAttributeContainers(
'event_data')
Expand Down
2 changes: 1 addition & 1 deletion tests/parsers/ips_plugins/recovery_logd.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def testProcess(self):
['ips_files', 'recoverylogd-2023-06-08-144913.ips'], plugin)

number_of_event_data = storage_writer.GetNumberOfAttributeContainers(
'event_data')
'event_data')
self.assertEqual(number_of_event_data, 1)

expected_event_values = {
Expand Down
2 changes: 1 addition & 1 deletion tests/parsers/ips_plugins/stacks_ips.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def testProcess(self):
['ips_files', 'stacks-2023-02-10-100716.ips'], plugin)

number_of_event_data = storage_writer.GetNumberOfAttributeContainers(
'event_data')
'event_data')
self.assertEqual(number_of_event_data, 1)

expected_event_values = {
Expand Down

0 comments on commit 114cb1d

Please sign in to comment.