Skip to content

Commit 43631cb

Browse files
author
dom
committed
pep8 compliance
1 parent fc55363 commit 43631cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

swig/openscap_api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def _import_helper():
5656

5757
import os
5858

59+
5960
def extract_type_from_obj(obj):
6061
# Extract the name of structure from the representation of the object
6162
# "<Swig Object of type 'struct xccdf_result_iterator *' at 0x7f8f65fc1390>"
@@ -324,7 +325,8 @@ def __start_callback(self, rule, obj):
324325
return obj[0](OSCAP_Object("xccdf_rule", rule), obj[1])
325326

326327
def __output_callback(self, result, obj):
327-
# the returned object can be a rule_result or an oval_definition_result, so I extract the right name from the object repr.
328+
# the returned object can be a rule_result or an oval_definition_result,
329+
# so I extract the right name from the object repr.
328330
return obj[0](OSCAP_Object(extract_type_from_obj(result), result), obj[1])
329331

330332
def register_start_callback(self, cb, usr):

0 commit comments

Comments
 (0)